|
|
@ -206,6 +206,7 @@ type ProductService interface { |
|
|
|
GetActivity(in *Request, out *Response) error |
|
|
|
GetAllActivity(in *Request, out *Response) error |
|
|
|
GetWarmingActivity(in *Request, out *Response) error |
|
|
|
FavoriteProduct(in *Request, out *Response) error |
|
|
|
} |
|
|
|
|
|
|
|
// AcceptProductServiceClient accepts connections on the listener and serves requests
|
|
|
@ -298,6 +299,9 @@ func (c *ProductServiceClient) GetAllActivity(in *Request, out *Response) error |
|
|
|
func (c *ProductServiceClient) GetWarmingActivity(in *Request, out *Response) error { |
|
|
|
return c.Call("ProductService.GetWarmingActivity", in, out) |
|
|
|
} |
|
|
|
func (c *ProductServiceClient) FavoriteProduct(in *Request, out *Response) error { |
|
|
|
return c.Call("ProductService.FavoriteProduct", in, out) |
|
|
|
} |
|
|
|
|
|
|
|
// DialProductService connects to an ProductService at the specified network address.
|
|
|
|
func DialProductService(network, addr string) (*ProductServiceClient, *rpc.Client, error) { |
|
|
|