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