|
|
@ -204,6 +204,8 @@ type ProductService interface { |
|
|
|
GetSku(in *GetRequest, out *GetResponse) error |
|
|
|
GetSkuByUuid(in *GetUuidRequest, out *GetResponse) error |
|
|
|
GetActivity(in *Request, out *Response) error |
|
|
|
GetAllActivity(in *Request, out *Response) error |
|
|
|
GetWarmingActivity(in *Request, out *Response) error |
|
|
|
} |
|
|
|
|
|
|
|
// AcceptProductServiceClient accepts connections on the listener and serves requests
|
|
|
@ -290,6 +292,12 @@ func (c *ProductServiceClient) GetSkuByUuid(in *GetUuidRequest, out *GetResponse |
|
|
|
func (c *ProductServiceClient) GetActivity(in *Request, out *Response) error { |
|
|
|
return c.Call("ProductService.GetActivity", in, out) |
|
|
|
} |
|
|
|
func (c *ProductServiceClient) GetAllActivity(in *Request, out *Response) error { |
|
|
|
return c.Call("ProductService.GetAllActivity", in, out) |
|
|
|
} |
|
|
|
func (c *ProductServiceClient) GetWarmingActivity(in *Request, out *Response) error { |
|
|
|
return c.Call("ProductService.GetWarmingActivity", in, out) |
|
|
|
} |
|
|
|
|
|
|
|
// DialProductService connects to an ProductService at the specified network address.
|
|
|
|
func DialProductService(network, addr string) (*ProductServiceClient, *rpc.Client, error) { |
|
|
|