package
0.21.2
Repository: https://github.com/michalq/go-swagger.git
Documentation: pkg.go.dev

# Functions

NewCountdownAPI creates a new Countdown instance.
NewElapse creates a new http.Handler for the elapse operation.
NewElapseForbidden creates ElapseForbidden with default headers values.
NewElapseOK creates ElapseOK with default headers values.
NewElapseParams creates a new ElapseParams object no default values defined in spec.

# Constants

ElapseForbiddenCode is the HTTP code returned for type ElapseForbidden.
ElapseOKCode is the HTTP code returned for type ElapseOK.

# Structs

CountdownAPI Example server for emitting newline delimited JSON */.
Elapse swagger:route GET /elapse/{length} elapse Count down the number of seconds Count down the seconds remaining */.
ElapseForbidden Contrived - thrown when length of 11 is chosen swagger:response elapseForbidden */.
ElapseOK Secondly update on remaining time swagger:response elapseOK */.
ElapseParams contains all the bound params for the elapse operation typically these are obtained from a http.Request swagger:parameters elapse.
ElapseURL generates an URL for the elapse operation.

# Interfaces

ElapseHandler interface for that can handle valid elapse params.

# Type aliases

ElapseHandlerFunc turns a function with the right signature into a elapse handler.