package
0.0.0-20230512003747-f22d49722d19
Repository: https://github.com/invisionapp/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 with the default values initialized.
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 with the default values initialized.
NewGetIDUnauthorized creates GetIDUnauthorized with default headers values.
# 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.