# Functions
NewAddOne creates a new http.Handler for the add one operation.
NewAddOneCreated creates AddOneCreated with default headers values.
NewAddOneDefault creates AddOneDefault with default headers values.
NewAddOneParams creates a new AddOneParams object
There are no default values defined in the spec.
NewDestroyOne creates a new http.Handler for the destroy one operation.
NewDestroyOneDefault creates DestroyOneDefault with default headers values.
NewDestroyOneNoContent creates DestroyOneNoContent with default headers values.
NewDestroyOneParams creates a new DestroyOneParams object
There are no default values defined in the spec.
NewFind creates a new http.Handler for the find operation.
NewFindDefault creates FindDefault with default headers values.
NewFindOK creates FindOK with default headers values.
NewFindParams creates a new FindParams object
There are no default values defined in the spec.
NewUpdateOne creates a new http.Handler for the update one operation.
NewUpdateOneDefault creates UpdateOneDefault with default headers values.
NewUpdateOneOK creates UpdateOneOK with default headers values.
NewUpdateOneParams creates a new UpdateOneParams object
There are no default values defined in the spec.
# Constants
AddOneCreatedCode is the HTTP code returned for type AddOneCreated.
DestroyOneNoContentCode is the HTTP code returned for type DestroyOneNoContent.
FindOKCode is the HTTP code returned for type FindOK.
UpdateOneOKCode is the HTTP code returned for type UpdateOneOK.
# Variables
FindMaxParseMemory sets the maximum size in bytes for the multipart form parser for this operation.
# Structs
AddOne swagger:route POST / todos addOne
AddOne add one API
*/.
AddOneCreated Created
swagger:response addOneCreated
*/.
AddOneDefault error
swagger:response addOneDefault
*/.
AddOneParams contains all the bound params for the add one operation typically these are obtained from a http.Request
swagger:parameters addOne.
AddOneURL generates an URL for the add one operation.
DestroyOne swagger:route DELETE /{id} todos destroyOne
DestroyOne destroy one API
*/.
DestroyOneDefault error
swagger:response destroyOneDefault
*/.
DestroyOneNoContent Deleted
swagger:response destroyOneNoContent
*/.
DestroyOneParams contains all the bound params for the destroy one operation typically these are obtained from a http.Request
swagger:parameters destroyOne.
DestroyOneURL generates an URL for the destroy one operation.
Find swagger:route GET / todos find
Find find API
*/.
FindDefault error
swagger:response findDefault
*/.
FindOK OK
swagger:response findOK
*/.
FindParams contains all the bound params for the find operation typically these are obtained from a http.Request
swagger:parameters find.
FindURL generates an URL for the find operation.
UpdateOne swagger:route PUT /{id} todos updateOne
UpdateOne update one API
*/.
UpdateOneDefault error
swagger:response updateOneDefault
*/.
UpdateOneOK OK
swagger:response updateOneOK
*/.
UpdateOneParams contains all the bound params for the update one operation typically these are obtained from a http.Request
swagger:parameters updateOne.
UpdateOneURL generates an URL for the update one operation.
# Interfaces
AddOneHandler interface for that can handle valid add one params.
DestroyOneHandler interface for that can handle valid destroy one params.
FindHandler interface for that can handle valid find params.
UpdateOneHandler interface for that can handle valid update one params.
# Type aliases
AddOneHandlerFunc turns a function with the right signature into a add one handler.
DestroyOneHandlerFunc turns a function with the right signature into a destroy one handler.
FindHandlerFunc turns a function with the right signature into a find handler.
UpdateOneHandlerFunc turns a function with the right signature into a update one handler.