server

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2020 License: MIT Imports: 5 Imported by: 0

README

server

import "github.com/brittonhayes/citadel/gen/http/vulnerabilities/kitserver"

Index

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

func MountFindHandler(mux goahttp.Muxer, h http.Handler)

MountFindHandler configures the mux to serve the "vulnerabilities" service "find" endpoint.

func MountListHandler

func MountListHandler(mux goahttp.Muxer, h http.Handler)

MountListHandler configures the mux to serve the "vulnerabilities" service "list" endpoint.

func MountSubmitHandler

func MountSubmitHandler(mux goahttp.Muxer, h http.Handler)

MountSubmitHandler configures the mux to serve the "vulnerabilities" service "submit" endpoint.

Generated by gomarkdoc

Documentation

Index

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

func MountFindHandler(mux goahttp.Muxer, h http.Handler)

MountFindHandler configures the mux to serve the "vulnerabilities" service "find" endpoint.

func MountListHandler

func MountListHandler(mux goahttp.Muxer, h http.Handler)

MountListHandler configures the mux to serve the "vulnerabilities" service "list" endpoint.

func MountSubmitHandler

func MountSubmitHandler(mux goahttp.Muxer, h http.Handler)

MountSubmitHandler configures the mux to serve the "vulnerabilities" service "submit" endpoint.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL