Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRequest ¶
CreateRequest holds the request parameters for the Create method.
type CreateResponse ¶
type CreateResponse struct { ID *uuid.UUID Err error }
CreateResponse holds the response values for the Create method.
type DeleteRequest ¶
type DeleteRequest struct { TenantID uuid.UUID ID uuid.UUID }
DeleteRequest holds the request parameters for the Delete method.
type DeleteResponse ¶
type DeleteResponse struct {
Err error
}
DeleteResponse holds the response values for the Delete method.
type Endpoints ¶
type Endpoints struct { Create endpoint.Endpoint Get endpoint.Endpoint Update endpoint.Endpoint Delete endpoint.Endpoint List endpoint.Endpoint }
Endpoints holds all Go kit endpoints for the service.
func MakeEndpoints ¶
MakeEndpoints initializes all Go kit endpoints for the service.
type GetRequest ¶
type GetRequest struct { TenantID uuid.UUID ID uuid.UUID }
GetRequest holds the request parameters for the Get method.
type GetResponse ¶
GetResponse holds the response values for the Get method.
type ListRequest ¶
type ListRequest struct {
TenantID uuid.UUID
}
ListRequest holds the request parameters for the List method.
type ListResponse ¶
ListResponse holds the response values for the List method.
type UpdateRequest ¶
UpdateRequest holds the request parameters for the Update method.
type UpdateResponse ¶
type UpdateResponse struct {
Err error
}
UpdateResponse holds the response values for the Update method.