|
@ -481,6 +481,7 @@ type UserService interface { |
|
|
GetBusiness(in *Request, out *Response) error |
|
|
GetBusiness(in *Request, out *Response) error |
|
|
GetById(in *Request, out *Response) error |
|
|
GetById(in *Request, out *Response) error |
|
|
GetBusinessInfo(in *Request, out *Response) error |
|
|
GetBusinessInfo(in *Request, out *Response) error |
|
|
|
|
|
GetAddressInfo(in *Request, out *Response) error |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// AcceptUserServiceClient accepts connections on the listener and serves requests
|
|
|
// AcceptUserServiceClient accepts connections on the listener and serves requests
|
|
@ -579,6 +580,9 @@ func (c *UserServiceClient) GetById(in *Request, out *Response) error { |
|
|
func (c *UserServiceClient) GetBusinessInfo(in *Request, out *Response) error { |
|
|
func (c *UserServiceClient) GetBusinessInfo(in *Request, out *Response) error { |
|
|
return c.Call("UserService.GetBusinessInfo", in, out) |
|
|
return c.Call("UserService.GetBusinessInfo", in, out) |
|
|
} |
|
|
} |
|
|
|
|
|
func (c *UserServiceClient) GetAddressInfo(in *Request, out *Response) error { |
|
|
|
|
|
return c.Call("UserService.GetAddressInfo", 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) { |
|
|