|
@ -537,6 +537,8 @@ type UserService interface { |
|
|
AddUserCoupon(in *Request, out *Response) error |
|
|
AddUserCoupon(in *Request, out *Response) error |
|
|
UpdateUserCoupon(in *Request, out *Response) error |
|
|
UpdateUserCoupon(in *Request, out *Response) error |
|
|
FavoriteProduct(in *Request, out *Response) error |
|
|
FavoriteProduct(in *Request, out *Response) error |
|
|
|
|
|
Fans(in *Request, out *Response) error |
|
|
|
|
|
LockFans(in *Request, out *Response) error |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// AcceptUserServiceClient accepts connections on the listener and serves requests
|
|
|
// AcceptUserServiceClient accepts connections on the listener and serves requests
|
|
@ -683,6 +685,12 @@ func (c *UserServiceClient) UpdateUserCoupon(in *Request, out *Response) error { |
|
|
func (c *UserServiceClient) FavoriteProduct(in *Request, out *Response) error { |
|
|
func (c *UserServiceClient) FavoriteProduct(in *Request, out *Response) error { |
|
|
return c.Call("UserService.FavoriteProduct", in, out) |
|
|
return c.Call("UserService.FavoriteProduct", in, out) |
|
|
} |
|
|
} |
|
|
|
|
|
func (c *UserServiceClient) Fans(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("UserService.Fans", in, out) |
|
|
|
|
|
} |
|
|
|
|
|
func (c *UserServiceClient) LockFans(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("UserService.LockFans", in, out) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// DialUserService connects to an UserService at the specified network address.
|
|
|
// DialUserService connects to an UserService at the specified network address.
|
|
|
func DialUserService(network, addr string) (*UserServiceClient, *rpc.Client, error) { |
|
|
func DialUserService(network, addr string) (*UserServiceClient, *rpc.Client, error) { |
|
|