package
0.0.1
Repository: https://github.com/scraly/gophers-api.git
Documentation: pkg.go.dev

# Functions

NewCheckHealth creates a new http.Handler for the check health operation.
NewCheckHealthOK creates CheckHealthOK with default headers values.
NewCheckHealthParams creates a new CheckHealthParams object There are no default values defined in the spec.
NewDeleteGopher creates a new http.Handler for the delete gopher operation.
NewDeleteGopherNotFound creates DeleteGopherNotFound with default headers values.
NewDeleteGopherOK creates DeleteGopherOK with default headers values.
NewDeleteGopherParams creates a new DeleteGopherParams object There are no default values defined in the spec.
NewGetGopher creates a new http.Handler for the get gopher operation.
NewGetGopherNotFound creates GetGopherNotFound with default headers values.
NewGetGopherOK creates GetGopherOK with default headers values.
NewGetGopherParams creates a new GetGopherParams object There are no default values defined in the spec.
NewGetGophers creates a new http.Handler for the get gophers operation.
NewGetGophersOK creates GetGophersOK with default headers values.
NewGetGophersParams creates a new GetGophersParams object There are no default values defined in the spec.
NewGophersAPIAPI creates a new GophersAPI instance.
NewPostGopher creates a new http.Handler for the post gopher operation.
NewPostGopherConflict creates PostGopherConflict with default headers values.
NewPostGopherCreated creates PostGopherCreated with default headers values.
NewPostGopherParams creates a new PostGopherParams object There are no default values defined in the spec.
NewPutGopher creates a new http.Handler for the put gopher operation.
NewPutGopherNotFound creates PutGopherNotFound with default headers values.
NewPutGopherOK creates PutGopherOK with default headers values.
NewPutGopherParams creates a new PutGopherParams object There are no default values defined in the spec.

# Constants

CheckHealthOKCode is the HTTP code returned for type CheckHealthOK.
DeleteGopherNotFoundCode is the HTTP code returned for type DeleteGopherNotFound.
DeleteGopherOKCode is the HTTP code returned for type DeleteGopherOK.
GetGopherNotFoundCode is the HTTP code returned for type GetGopherNotFound.
GetGopherOKCode is the HTTP code returned for type GetGopherOK.
GetGophersOKCode is the HTTP code returned for type GetGophersOK.
PostGopherConflictCode is the HTTP code returned for type PostGopherConflict.
PostGopherCreatedCode is the HTTP code returned for type PostGopherCreated.
PutGopherNotFoundCode is the HTTP code returned for type PutGopherNotFound.
PutGopherOKCode is the HTTP code returned for type PutGopherOK.

# Structs

CheckHealth swagger:route GET /healthz checkHealth CheckHealth check health API */.
CheckHealthOK OK message.
CheckHealthParams contains all the bound params for the check health operation typically these are obtained from a http.Request swagger:parameters checkHealth.
CheckHealthURL generates an URL for the check health operation.
DeleteGopher swagger:route DELETE /gopher deleteGopher Delete a gopher by a given name */.
DeleteGopherNotFound A gopher with the specified Name was not found.
DeleteGopherOK OK swagger:response deleteGopherOK */.
DeleteGopherParams contains all the bound params for the delete gopher operation typically these are obtained from a http.Request swagger:parameters DeleteGopher.
DeleteGopherURL generates an URL for the delete gopher operation.
GetGopher swagger:route GET /gopher getGopher Get a gopher by a given name */.
GetGopherNotFound A gopher with the specified Name was not found.
GetGopherOK A gopher swagger:response getGopherOK */.
GetGopherParams contains all the bound params for the get gopher operation typically these are obtained from a http.Request swagger:parameters GetGopher.
GetGophers swagger:route GET /gophers getGophers List Gophers */.
GetGophersOK Return the Gophers list.
GetGophersParams contains all the bound params for the get gophers operation typically these are obtained from a http.Request swagger:parameters GetGophers.
GetGophersURL generates an URL for the get gophers operation.
GetGopherURL generates an URL for the get gopher operation.
GophersAPIAPI HTTP server that handle cute Gophers.
PostGopher swagger:route POST /gopher postGopher Add a new Gopher */.
PostGopherBody post gopher body swagger:model PostGopherBody.
PostGopherConflict Gopher already exists swagger:response postGopherConflict */.
PostGopherCreated Created swagger:response postGopherCreated */.
PostGopherParams contains all the bound params for the post gopher operation typically these are obtained from a http.Request swagger:parameters PostGopher.
PostGopherURL generates an URL for the post gopher operation.
PutGopher swagger:route PUT /gopher putGopher Update a gopher */.
PutGopherBody put gopher body swagger:model PutGopherBody.
PutGopherNotFound A gopher with the specified Name was not found.
PutGopherOK Updated swagger:response putGopherOK */.
PutGopherParams contains all the bound params for the put gopher operation typically these are obtained from a http.Request swagger:parameters PutGopher.
PutGopherURL generates an URL for the put gopher operation.

# Interfaces

CheckHealthHandler interface for that can handle valid check health params.
DeleteGopherHandler interface for that can handle valid delete gopher params.
GetGopherHandler interface for that can handle valid get gopher params.
GetGophersHandler interface for that can handle valid get gophers params.
PostGopherHandler interface for that can handle valid post gopher params.
PutGopherHandler interface for that can handle valid put gopher params.

# Type aliases

CheckHealthHandlerFunc turns a function with the right signature into a check health handler.
DeleteGopherHandlerFunc turns a function with the right signature into a delete gopher handler.
GetGopherHandlerFunc turns a function with the right signature into a get gopher handler.
GetGophersHandlerFunc turns a function with the right signature into a get gophers handler.
PostGopherHandlerFunc turns a function with the right signature into a post gopher handler.
PutGopherHandlerFunc turns a function with the right signature into a put gopher handler.