Documentation ¶
Index ¶
- func MakeEndpointOfGetMessage(s Service) endpoint.Endpoint
- func NewHTTPRouter(svc Service, codecs httpcodec.Codecs, opts ...httpoption.Option) chi.Router
- func OASv2APIDoc(schema oas2.Schema) string
- func ValidateGetMessageRequest(newSchema func(*GetMessageRequest) validating.Schema) httpoption.Validator
- type GetMessageRequest
- type GetMessageResponse
- type HTTPClient
- type Messaging
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeEndpointOfGetMessage ¶
MakeEndpointOfGetMessage creates the endpoint for s.GetMessage.
func NewHTTPRouter ¶
func OASv2APIDoc ¶
func ValidateGetMessageRequest ¶
func ValidateGetMessageRequest(newSchema func(*GetMessageRequest) validating.Schema) httpoption.Validator
ValidateGetMessageRequest creates a validator for GetMessageRequest.
Types ¶
type GetMessageRequest ¶
type GetMessageResponse ¶
func (*GetMessageResponse) Body ¶
func (r *GetMessageResponse) Body() interface{}
func (*GetMessageResponse) Failed ¶
func (r *GetMessageResponse) Failed() error
Failed implements endpoint.Failer.
type HTTPClient ¶
type HTTPClient struct {
// contains filtered or unexported fields
}
func NewHTTPClient ¶
func (*HTTPClient) GetMessage ¶
Click to show internal directories.
Click to hide internal directories.