package
0.19.0
Repository: https://github.com/rws-github/go-swagger.git
Documentation: pkg.go.dev

# Functions

NewCreate creates a new http.Handler for the create operation.
NewCreateCreated creates CreateCreated with default headers values.
NewCreateDefault creates CreateDefault with default headers values.
NewCreateParams creates a new CreateParams object no default values defined in spec.
NewGetID creates a new http.Handler for the get Id operation.
NewGetIDDefault creates GetIDDefault with default headers values.
NewGetIDNotFound creates GetIDNotFound with default headers values.
NewGetIDOK creates GetIDOK with default headers values.
NewGetIDParams creates a new GetIDParams object no default values defined in spec.
NewGetIDUnauthorized creates GetIDUnauthorized with default headers values.

# Constants

CreateCreatedCode is the HTTP code returned for type CreateCreated.
GetIDNotFoundCode is the HTTP code returned for type GetIDNotFound.
GetIDOKCode is the HTTP code returned for type GetIDOK.
GetIDUnauthorizedCode is the HTTP code returned for type GetIDUnauthorized.

# Structs

Create swagger:route POST /customers customers create Create a new customer to track */.
CreateCreated created swagger:response createCreated */.
CreateDefault error swagger:response createDefault */.
CreateParams contains all the bound params for the create operation typically these are obtained from a http.Request swagger:parameters create.
CreateURL generates an URL for the create operation.
GetID swagger:route GET /customers customers getId Get a customerId given an SSN */.
GetIDDefault error swagger:response getIdDefault */.
GetIDNotFound resource not found swagger:response getIdNotFound */.
GetIDOK OK swagger:response getIdOK */.
GetIDParams contains all the bound params for the get Id operation typically these are obtained from a http.Request swagger:parameters getId.
GetIDUnauthorized unauthorized swagger:response getIdUnauthorized */.
GetIDURL generates an URL for the get Id operation.

# Interfaces

CreateHandler interface for that can handle valid create params.
GetIDHandler interface for that can handle valid get Id params.

# Type aliases

CreateHandlerFunc turns a function with the right signature into a create handler.
GetIDHandlerFunc turns a function with the right signature into a get Id handler.