Documentation ¶
Index ¶
- Variables
- type CreateGreetingRequest
- type CreateGreetingResponse
- type DeleteGreetingRequest
- type DeleteGreetingResponse
- type Endpoints
- func (e *Endpoints) CreateGreetingEndpoint(ctx context.Context, request *CreateGreetingRequest) (response *CreateGreetingResponse, err error)
- func (e *Endpoints) DeleteGreetingEndpoint(ctx context.Context, request *DeleteGreetingRequest) (response *DeleteGreetingResponse, err error)
- func (e *Endpoints) GetGreetingAllEndpoint(ctx context.Context, request *GetGreetingAllRequest) (response []*GetGreetingAllResponse, err error)
- func (e *Endpoints) GetGreetingDetailEndpoint(ctx context.Context, request *GetGreetingDetailRequest) (response *GetGreetingDetailResponse, err error)
- func (e *Endpoints) GetGreetingListEndpoint(ctx context.Context, request *GetGreetingListRequest) (response *GetGreetingListResponse, err error)
- func (e *Endpoints) UpdateGreetingEndpoint(ctx context.Context, request *UpdateGreetingRequest) (response *UpdateGreetingResponse, err error)
- type GetGreetingAllRequest
- type GetGreetingAllResponse
- type GetGreetingDetailRequest
- type GetGreetingDetailResponse
- type GetGreetingListRequest
- type GetGreetingListResponse
- type UpdateGreetingRequest
- type UpdateGreetingResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewEndpoints)
Functions ¶
This section is empty.
Types ¶
type CreateGreetingRequest ¶
type CreateGreetingRequest struct { }
type CreateGreetingResponse ¶
type CreateGreetingResponse struct { }
type DeleteGreetingRequest ¶
type DeleteGreetingRequest struct {
Id uint
}
type DeleteGreetingResponse ¶
type DeleteGreetingResponse struct { }
type Endpoints ¶
type Endpoints struct {
// contains filtered or unexported fields
}
func NewEndpoints ¶
func NewEndpoints( greeting service.GreetingService, ) *Endpoints
func (*Endpoints) CreateGreetingEndpoint ¶
func (e *Endpoints) CreateGreetingEndpoint(ctx context.Context, request *CreateGreetingRequest) (response *CreateGreetingResponse, err error)
func (*Endpoints) DeleteGreetingEndpoint ¶
func (e *Endpoints) DeleteGreetingEndpoint(ctx context.Context, request *DeleteGreetingRequest) (response *DeleteGreetingResponse, err error)
func (*Endpoints) GetGreetingAllEndpoint ¶
func (e *Endpoints) GetGreetingAllEndpoint(ctx context.Context, request *GetGreetingAllRequest) (response []*GetGreetingAllResponse, err error)
func (*Endpoints) GetGreetingDetailEndpoint ¶
func (e *Endpoints) GetGreetingDetailEndpoint(ctx context.Context, request *GetGreetingDetailRequest) (response *GetGreetingDetailResponse, err error)
func (*Endpoints) GetGreetingListEndpoint ¶
func (e *Endpoints) GetGreetingListEndpoint(ctx context.Context, request *GetGreetingListRequest) (response *GetGreetingListResponse, err error)
func (*Endpoints) UpdateGreetingEndpoint ¶
func (e *Endpoints) UpdateGreetingEndpoint(ctx context.Context, request *UpdateGreetingRequest) (response *UpdateGreetingResponse, err error)
type GetGreetingAllRequest ¶
type GetGreetingAllRequest struct { }
type GetGreetingAllResponse ¶
type GetGreetingAllResponse struct {
Id uint
}
type GetGreetingDetailRequest ¶
type GetGreetingDetailRequest struct {
Id uint
}
type GetGreetingListRequest ¶
type GetGreetingListResponse ¶
type UpdateGreetingRequest ¶
type UpdateGreetingRequest struct {
Id uint
}
type UpdateGreetingResponse ¶
type UpdateGreetingResponse struct { }
Click to show internal directories.
Click to hide internal directories.