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/incidents/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 incidents find requests.

func DecodeListAllRequest

func DecodeListAllRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) kithttp.DecodeRequestFunc

DecodeListAllRequest returns a go-kit DecodeRequestFunc suitable for decoding incidents list all requests.

func EncodeFindResponse

func EncodeFindResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) kithttp.EncodeResponseFunc

EncodeFindResponse returns a go-kit EncodeResponseFunc suitable for encoding incidents find responses.

func EncodeListAllResponse

func EncodeListAllResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) kithttp.EncodeResponseFunc

EncodeListAllResponse returns a go-kit EncodeResponseFunc suitable for encoding incidents list all responses.

func MountFindHandler

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

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

func MountListAllHandler

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

MountListAllHandler configures the mux to serve the "incidents" service "list all" 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 incidents find requests.

func DecodeListAllRequest

func DecodeListAllRequest(mux goahttp.Muxer, decoder func(*http.Request) goahttp.Decoder) kithttp.DecodeRequestFunc

DecodeListAllRequest returns a go-kit DecodeRequestFunc suitable for decoding incidents list all requests.

func EncodeFindResponse

func EncodeFindResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) kithttp.EncodeResponseFunc

EncodeFindResponse returns a go-kit EncodeResponseFunc suitable for encoding incidents find responses.

func EncodeListAllResponse

func EncodeListAllResponse(encoder func(context.Context, http.ResponseWriter) goahttp.Encoder) kithttp.EncodeResponseFunc

EncodeListAllResponse returns a go-kit EncodeResponseFunc suitable for encoding incidents list all responses.

func MountFindHandler

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

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

func MountListAllHandler

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

MountListAllHandler configures the mux to serve the "incidents" service "list all" endpoint.

Types

This section is empty.

Jump to

Keyboard shortcuts

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