package foo
import "github.com/go-kit/kit/cmd/kitgen/templates"
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
Functions ¶
func DecodeExampleRequest ¶
func EncodeExampleResponse ¶
func EncodeExampleResponse(_ context.Context, w http.ResponseWriter, response interface{}) error
func NewHTTPHandler ¶
Types ¶
type Endpoints ¶
type ExampleRequest ¶
type ExampleResponse ¶
type ExampleService ¶
type ExampleService struct { }
func (ExampleService) ExampleEndpoint ¶
Source Files ¶
- Version
- v0.9.0
- Published
- Jun 24, 2019
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 48 minutes ago –
Tools for package owners.