Documentation ¶
Index ¶
- func DecodeArchiveRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) kithttp.DecodeRequestFunc
- func DecodeReadRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) kithttp.DecodeRequestFunc
- func EncodeArchiveResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) kithttp.EncodeResponseFunc
- func EncodeReadError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) kithttp.ErrorEncoder
- func EncodeReadResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) kithttp.EncodeResponseFunc
- func MountArchiveHandler(mux goahttp.Muxer, h http.Handler)
- func MountReadHandler(mux goahttp.Muxer, h http.Handler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeArchiveRequest ¶
func DecodeArchiveRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) kithttp.DecodeRequestFunc
DecodeArchiveRequest returns a go-kit DecodeRequestFunc suitable for decoding archiver archive requests.
func DecodeReadRequest ¶
func DecodeReadRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) kithttp.DecodeRequestFunc
DecodeReadRequest returns a go-kit DecodeRequestFunc suitable for decoding archiver read requests.
func EncodeArchiveResponse ¶
func EncodeArchiveResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) kithttp.EncodeResponseFunc
EncodeArchiveResponse returns a go-kit EncodeResponseFunc suitable for encoding archiver archive responses.
func EncodeReadError ¶
func EncodeReadError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) kithttp.ErrorEncoder
EncodeReadError returns a go-kit EncodeResponseFunc suitable for encoding errors returned by the archiver read endpoint.
func EncodeReadResponse ¶
func EncodeReadResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) kithttp.EncodeResponseFunc
EncodeReadResponse returns a go-kit EncodeResponseFunc suitable for encoding archiver read responses.
func MountArchiveHandler ¶
MountArchiveHandler configures the mux to serve the "archiver" service "archive" endpoint.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.