package
0.0.0-20230512003747-f22d49722d19
Repository: https://github.com/invisionapp/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 with the default values initialized.
# 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.
# Interfaces
ElapseHandler interface for that can handle valid elapse params.
# Type aliases
ElapseHandlerFunc turns a function with the right signature into a elapse handler.