package
0.0.0-20170630083319-50978460ba9e
Repository: https://github.com/djarvur/go-mk-ms01-swagger.git
Documentation: pkg.go.dev

# Functions

NewPing creates a new http.Handler for the ping operation.
NewPingBadRequest creates PingBadRequest with default headers values.
NewPingForbidden creates PingForbidden with default headers values.
NewPingInternalServerError creates PingInternalServerError with default headers values.
NewPingOK creates PingOK with default headers values.
NewPingParams creates a new PingParams object with the default values initialized.

# Constants

PingBadRequestCode is the HTTP code returned for type PingBadRequest.
PingForbiddenCode is the HTTP code returned for type PingForbidden.
PingInternalServerErrorCode is the HTTP code returned for type PingInternalServerError.
PingOKCode is the HTTP code returned for type PingOK.

# Structs

Ping swagger:route GET /ping ping ping does it ping yet? YAML-based definitions suck */.
PingBadRequest Invalid status value swagger:response pingBadRequest */.
PingForbidden Access denied swagger:response pingForbidden */.
PingInternalServerError Operation error swagger:response pingInternalServerError */.
PingOK successful operation swagger:response pingOK */.
PingParams contains all the bound params for the ping operation typically these are obtained from a http.Request swagger:parameters ping.
PingURL generates an URL for the ping operation.

# Interfaces

PingHandler interface for that can handle valid ping params.

# Type aliases

PingHandlerFunc turns a function with the right signature into a ping handler.