Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct{}
Controller handles requests
func (*Controller) GetUser ¶
func (c *Controller) GetUser(ctx context.Context, body *userdef.GetUserRequest) (*userdef.GetUserResponse, error)
GetUser reads a user by ID
func (*Controller) ListUsers ¶
func (c *Controller) ListUsers(ctx context.Context, body *userdef.ListUsersRequest) (*userdef.ListUsersResponse, error)
ListUsers lists all users
Click to show internal directories.
Click to hide internal directories.