Documentation ¶
Index ¶
- func DecodeFetchRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) kithttp.DecodeRequestFunc
- func EncodeFetchError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) kithttp.ErrorEncoder
- func EncodeFetchResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) kithttp.EncodeResponseFunc
- func MountFetchHandler(mux goahttp.Muxer, h http.Handler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeFetchRequest ¶
func DecodeFetchRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) kithttp.DecodeRequestFunc
DecodeFetchRequest returns a go-kit DecodeRequestFunc suitable for decoding fetcher fetch requests.
func EncodeFetchError ¶
func EncodeFetchError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) kithttp.ErrorEncoder
EncodeFetchError returns a go-kit EncodeResponseFunc suitable for encoding errors returned by the fetcher fetch endpoint.
func EncodeFetchResponse ¶
func EncodeFetchResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) kithttp.EncodeResponseFunc
EncodeFetchResponse returns a go-kit EncodeResponseFunc suitable for encoding fetcher fetch responses.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.