Documentation ¶
Index ¶
- func DecodeExampleRequest(_ context.Context, r *http.Request) (interface{}, error)
- func EncodeExampleResponse(_ context.Context, w http.ResponseWriter, response interface{}) error
- func NewHTTPHandler(endpoints Endpoints) http.Handler
- type Endpoints
- type ExampleRequest
- type ExampleResponse
- type ExampleService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeExampleRequest ¶
func EncodeExampleResponse ¶
func EncodeExampleResponse(_ context.Context, w http.ResponseWriter, response interface{}) error
func NewHTTPHandler ¶
Types ¶
type ExampleRequest ¶
type ExampleResponse ¶
Click to show internal directories.
Click to hide internal directories.