Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserRequest ¶
type CreateUserResponse ¶
type CreateUserResponse struct {
ID string `json:"id"`
}
type DeleteUserRequest ¶
type DeleteUserRequest struct {
ID string `json:"id"`
}
type DeleteUserResponse ¶
type DeleteUserResponse struct {
ID string `json:"id"`
}
type Endpoints ¶
type Endpoints struct { CreateUser endpoint.Endpoint GetUser endpoint.Endpoint UpdateUser endpoint.Endpoint DeleteUser endpoint.Endpoint ListUsers endpoint.Endpoint }
func MakeEndpoints ¶
func MakeEndpoints(s user.ServiceInterface) Endpoints
type GetUserRequest ¶
type GetUserRequest struct {
ID string `json:"id"`
}
type GetUserResponse ¶
type ListUsersRequest ¶
type ListUsersRequest struct{}
type ListUsersResponse ¶
type UpdateUserRequest ¶
type UpdateUserResponse ¶
Click to show internal directories.
Click to hide internal directories.