|
|
@ -103,7 +103,8 @@ type OrderService interface { |
|
|
|
Cancel(in *Request, out *Response) error |
|
|
|
AutoReceive(in *Request, out *Response) error |
|
|
|
Get(in *Request, out *Response) error |
|
|
|
GetUserCount(in *Request, out *Response) error |
|
|
|
GetUserBuyTotal(in *Request, out *Response) error |
|
|
|
GetUserBuyNum(in *Request, out *Response) error |
|
|
|
} |
|
|
|
|
|
|
|
// AcceptOrderServiceClient accepts connections on the listener and serves requests
|
|
|
@ -190,8 +191,11 @@ func (c *OrderServiceClient) AutoReceive(in *Request, out *Response) error { |
|
|
|
func (c *OrderServiceClient) Get(in *Request, out *Response) error { |
|
|
|
return c.Call("OrderService.Get", in, out) |
|
|
|
} |
|
|
|
func (c *OrderServiceClient) GetUserCount(in *Request, out *Response) error { |
|
|
|
return c.Call("OrderService.GetUserCount", in, out) |
|
|
|
func (c *OrderServiceClient) GetUserBuyTotal(in *Request, out *Response) error { |
|
|
|
return c.Call("OrderService.GetUserBuyTotal", in, out) |
|
|
|
} |
|
|
|
func (c *OrderServiceClient) GetUserBuyNum(in *Request, out *Response) error { |
|
|
|
return c.Call("OrderService.GetUserBuyNum", in, out) |
|
|
|
} |
|
|
|
|
|
|
|
// DialOrderService connects to an OrderService at the specified network address.
|
|
|
|