|
@ -525,6 +525,17 @@ type UserService interface { |
|
|
GetAddressInfo(in *Request, out *Response) error |
|
|
GetAddressInfo(in *Request, out *Response) error |
|
|
GetUserScore(in *Request, out *Response) error |
|
|
GetUserScore(in *Request, out *Response) error |
|
|
GetUserRedEnvelope(in *Request, out *Response) error |
|
|
GetUserRedEnvelope(in *Request, out *Response) error |
|
|
|
|
|
AddUserScore(in *Request, out *Response) error |
|
|
|
|
|
UpdateUserScore(in *Request, out *Response) error |
|
|
|
|
|
AddUserScoreLog(in *Request, out *Response) error |
|
|
|
|
|
AddUserUpgrade(in *Request, out *Response) error |
|
|
|
|
|
UpdateUserUpgrade(in *Request, out *Response) error |
|
|
|
|
|
AddUserUpgradeLog(in *Request, out *Response) error |
|
|
|
|
|
AddUserRedEnvelope(in *Request, out *Response) error |
|
|
|
|
|
UpdateUserRedEnvelope(in *Request, out *Response) error |
|
|
|
|
|
AddUserRedEnvelopeLog(in *Request, out *Response) error |
|
|
|
|
|
AddUserCoupon(in *Request, out *Response) error |
|
|
|
|
|
UpdateUserCoupon(in *Request, out *Response) error |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// AcceptUserServiceClient accepts connections on the listener and serves requests
|
|
|
// AcceptUserServiceClient accepts connections on the listener and serves requests
|
|
@ -635,6 +646,39 @@ func (c *UserServiceClient) GetUserScore(in *Request, out *Response) error { |
|
|
func (c *UserServiceClient) GetUserRedEnvelope(in *Request, out *Response) error { |
|
|
func (c *UserServiceClient) GetUserRedEnvelope(in *Request, out *Response) error { |
|
|
return c.Call("UserService.GetUserRedEnvelope", in, out) |
|
|
return c.Call("UserService.GetUserRedEnvelope", in, out) |
|
|
} |
|
|
} |
|
|
|
|
|
func (c *UserServiceClient) AddUserScore(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("UserService.AddUserScore", in, out) |
|
|
|
|
|
} |
|
|
|
|
|
func (c *UserServiceClient) UpdateUserScore(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("UserService.UpdateUserScore", in, out) |
|
|
|
|
|
} |
|
|
|
|
|
func (c *UserServiceClient) AddUserScoreLog(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("UserService.AddUserScoreLog", in, out) |
|
|
|
|
|
} |
|
|
|
|
|
func (c *UserServiceClient) AddUserUpgrade(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("UserService.AddUserUpgrade", in, out) |
|
|
|
|
|
} |
|
|
|
|
|
func (c *UserServiceClient) UpdateUserUpgrade(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("UserService.UpdateUserUpgrade", in, out) |
|
|
|
|
|
} |
|
|
|
|
|
func (c *UserServiceClient) AddUserUpgradeLog(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("UserService.AddUserUpgradeLog", in, out) |
|
|
|
|
|
} |
|
|
|
|
|
func (c *UserServiceClient) AddUserRedEnvelope(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("UserService.AddUserRedEnvelope", in, out) |
|
|
|
|
|
} |
|
|
|
|
|
func (c *UserServiceClient) UpdateUserRedEnvelope(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("UserService.UpdateUserRedEnvelope", in, out) |
|
|
|
|
|
} |
|
|
|
|
|
func (c *UserServiceClient) AddUserRedEnvelopeLog(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("UserService.AddUserRedEnvelopeLog", in, out) |
|
|
|
|
|
} |
|
|
|
|
|
func (c *UserServiceClient) AddUserCoupon(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("UserService.AddUserCoupon", in, out) |
|
|
|
|
|
} |
|
|
|
|
|
func (c *UserServiceClient) UpdateUserCoupon(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("UserService.UpdateUserCoupon", 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) { |
|
|