package
0.0.0-20201207183626-fa7112993c64
Repository: https://github.com/elfsternberg/go-swagger-tutorial.git
Documentation: pkg.go.dev

# Functions

NewTimeGet creates a new http.Handler for the time get operation.
NewTimeGetInternalServerError creates TimeGetInternalServerError with default headers values.
NewTimeGetNotFound creates TimeGetNotFound with default headers values.
NewTimeGetOK creates TimeGetOK with default headers values.
NewTimeGetParams creates a new TimeGetParams object no default values defined in spec.
NewTimeofdayAPI creates a new Timeofday instance.
NewTimePost creates a new http.Handler for the time post operation.
NewTimePostInternalServerError creates TimePostInternalServerError with default headers values.
NewTimePostNotFound creates TimePostNotFound with default headers values.
NewTimePostOK creates TimePostOK with default headers values.
NewTimePostParams creates a new TimePostParams object no default values defined in spec.

# Constants

TimeGetInternalServerErrorCode is the HTTP code returned for type TimeGetInternalServerError.
TimeGetNotFoundCode is the HTTP code returned for type TimeGetNotFound.
TimeGetOKCode is the HTTP code returned for type TimeGetOK.
TimePostInternalServerErrorCode is the HTTP code returned for type TimePostInternalServerError.
TimePostNotFoundCode is the HTTP code returned for type TimePostNotFound.
TimePostOKCode is the HTTP code returned for type TimePostOK.

# Structs

TimeGet swagger:route GET /time timeGet Returns time of day.
TimeGetInternalServerError Something has gone horribly wrong swagger:response timeGetInternalServerError */.
TimeGetNotFound Time zone not found swagger:response timeGetNotFound */.
TimeGetOK Returns the time of day.
TimeGetParams contains all the bound params for the time get operation typically these are obtained from a http.Request swagger:parameters TimeGet.
TimeGetURL generates an URL for the time get operation.
TimeofdayAPI Return the time of day.
TimePost swagger:route POST /time timePost Returns time of day.
TimePostInternalServerError Something has gone horribly wrong swagger:response timePostInternalServerError */.
TimePostNotFound Time zone not found swagger:response timePostNotFound */.
TimePostOK Returns the time of day.
TimePostParams contains all the bound params for the time post operation typically these are obtained from a http.Request swagger:parameters TimePost.
TimePostURL generates an URL for the time post operation.

# Interfaces

TimeGetHandler interface for that can handle valid time get params.
TimePostHandler interface for that can handle valid time post params.

# Type aliases

TimeGetHandlerFunc turns a function with the right signature into a time get handler.
TimePostHandlerFunc turns a function with the right signature into a time post handler.