# Functions
NewAddOne creates a new http.Handler for the add one operation.
NewAddOneCreated creates AddOneCreated with default headers values.
NewAddOneInternalServerError creates AddOneInternalServerError with default headers values.
NewAddOneParams creates a new AddOneParams object no default values defined in spec.
NewDestroyOne creates a new http.Handler for the destroy one operation.
NewDestroyOneInternalServerError creates DestroyOneInternalServerError with default headers values.
NewDestroyOneNoContent creates DestroyOneNoContent with default headers values.
NewDestroyOneNotFound creates DestroyOneNotFound with default headers values.
NewDestroyOneParams creates a new DestroyOneParams object no default values defined in spec.
NewFind creates a new http.Handler for the find operation.
NewFindInternalServerError creates FindInternalServerError with default headers values.
NewFindNotFound creates FindNotFound with default headers values.
NewFindOK creates FindOK with default headers values.
NewFindParams creates a new FindParams object no default values defined in spec.
NewUpdateOne creates a new http.Handler for the update one operation.
NewUpdateOneInternalServerError creates UpdateOneInternalServerError with default headers values.
NewUpdateOneNotFound creates UpdateOneNotFound with default headers values.
NewUpdateOneOK creates UpdateOneOK with default headers values.
NewUpdateOneParams creates a new UpdateOneParams object no default values defined in spec.
# Constants
AddOneCreatedCode is the HTTP code returned for type AddOneCreated.
AddOneInternalServerErrorCode is the HTTP code returned for type AddOneInternalServerError.
DestroyOneInternalServerErrorCode is the HTTP code returned for type DestroyOneInternalServerError.
DestroyOneNoContentCode is the HTTP code returned for type DestroyOneNoContent.
DestroyOneNotFoundCode is the HTTP code returned for type DestroyOneNotFound.
FindInternalServerErrorCode is the HTTP code returned for type FindInternalServerError.
FindNotFoundCode is the HTTP code returned for type FindNotFound.
FindOKCode is the HTTP code returned for type FindOK.
UpdateOneInternalServerErrorCode is the HTTP code returned for type UpdateOneInternalServerError.
UpdateOneNotFoundCode is the HTTP code returned for type UpdateOneNotFound.
UpdateOneOKCode is the HTTP code returned for type UpdateOneOK.
# Structs
AddOne swagger:route POST / todos addOne
AddOne add one API
*/.
AddOneCreated Created
swagger:response addOneCreated
*/.
AddOneInternalServerError Internal Error
swagger:response addOneInternalServerError
*/.
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
*/.
DestroyOneInternalServerError Internal Error
swagger:response destroyOneInternalServerError
*/.
DestroyOneNoContent Deleted
swagger:response destroyOneNoContent
*/.
DestroyOneNotFound Not Found
swagger:response destroyOneNotFound
*/.
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
*/.
FindInternalServerError Internal Error
swagger:response findInternalServerError
*/.
FindNotFound Not Found
swagger:response findNotFound
*/.
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
*/.
UpdateOneInternalServerError Internal Error
swagger:response updateOneInternalServerError
*/.
UpdateOneNotFound Not Found
swagger:response updateOneNotFound
*/.
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.
NewAddOneCreatedFunc is declaration for func that create response.
NewAddOneInternalServerErrorFunc is declaration for func that create response.
NewDestroyOneInternalServerErrorFunc is declaration for func that create response.
NewDestroyOneNoContentFunc is declaration for func that create response.
NewDestroyOneNotFoundFunc is declaration for func that create response.
NewFindInternalServerErrorFunc is declaration for func that create response.
NewFindNotFoundFunc is declaration for func that create response.
NewFindOKFunc is declaration for func that create response.
NewUpdateOneInternalServerErrorFunc is declaration for func that create response.
NewUpdateOneNotFoundFunc is declaration for func that create response.
NewUpdateOneOKFunc is declaration for func that create response.
UpdateOneHandlerFunc turns a function with the right signature into a update one handler.