Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) CreateUser ¶
func (*Service) GetUsers ¶
func (s *Service) GetUsers(context.Context, *pb.GetUsersRequest) (*pb.GetUsersResponse, error)
type ServiceClient ¶
type ServiceClient struct {
// contains filtered or unexported fields
}
func NewUserServiceClient ¶
func NewUserServiceClient(addr string) (*ServiceClient, error)
func (*ServiceClient) Close ¶
func (c *ServiceClient) Close() error
func (*ServiceClient) CreateUser ¶
func (c *ServiceClient) CreateUser(ctx context.Context, user User) error
Click to show internal directories.
Click to hide internal directories.