Documentation ¶
Index ¶
- func DecodeFindRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) kithttp.DecodeRequestFunc
- func DecodeListRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) kithttp.DecodeRequestFunc
- func DecodeSubmitRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) kithttp.DecodeRequestFunc
- func EncodeFindError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) kithttp.ErrorEncoder
- func EncodeFindResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) kithttp.EncodeResponseFunc
- func EncodeListResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) kithttp.EncodeResponseFunc
- func EncodeSubmitError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, ...) kithttp.ErrorEncoder
- func EncodeSubmitResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) kithttp.EncodeResponseFunc
- func MountFindHandler(mux goahttp.Muxer, h http.Handler)
- func MountListHandler(mux goahttp.Muxer, h http.Handler)
- func MountSubmitHandler(mux goahttp.Muxer, h http.Handler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeFindRequest ¶
func DecodeFindRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) kithttp.DecodeRequestFunc
DecodeFindRequest returns a go-kit DecodeRequestFunc suitable for decoding vulnerabilities find requests.
func DecodeListRequest ¶
func DecodeListRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) kithttp.DecodeRequestFunc
DecodeListRequest returns a go-kit DecodeRequestFunc suitable for decoding vulnerabilities list requests.
func DecodeSubmitRequest ¶
func DecodeSubmitRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) kithttp.DecodeRequestFunc
DecodeSubmitRequest returns a go-kit DecodeRequestFunc suitable for decoding vulnerabilities submit requests.
func EncodeFindError ¶
func EncodeFindError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) kithttp.ErrorEncoder
EncodeFindError returns a go-kit EncodeResponseFunc suitable for encoding errors returned by the vulnerabilities find endpoint.
func EncodeFindResponse ¶
func EncodeFindResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) kithttp.EncodeResponseFunc
EncodeFindResponse returns a go-kit EncodeResponseFunc suitable for encoding vulnerabilities find responses.
func EncodeListResponse ¶
func EncodeListResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) kithttp.EncodeResponseFunc
EncodeListResponse returns a go-kit EncodeResponseFunc suitable for encoding vulnerabilities list responses.
func EncodeSubmitError ¶
func EncodeSubmitError(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder, formatter func(err error) goahttp.Statuser) kithttp.ErrorEncoder
EncodeSubmitError returns a go-kit EncodeResponseFunc suitable for encoding errors returned by the vulnerabilities submit endpoint.
func EncodeSubmitResponse ¶
func EncodeSubmitResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) kithttp.EncodeResponseFunc
EncodeSubmitResponse returns a go-kit EncodeResponseFunc suitable for encoding vulnerabilities submit responses.
func MountFindHandler ¶
MountFindHandler configures the mux to serve the "vulnerabilities" service "find" endpoint.
func MountListHandler ¶
MountListHandler configures the mux to serve the "vulnerabilities" service "list" endpoint.
Types ¶
This section is empty.