# Functions
NewCreateOne creates a new http.Handler for the create one operation.
NewCreateOneCreated creates CreateOneCreated with default headers values.
NewCreateOneDefault creates CreateOneDefault with default headers values.
NewCreateOneParams creates a new CreateOneParams object no default values defined in spec.
NewDeleteOne creates a new http.Handler for the delete one operation.
NewDeleteOneDefault creates DeleteOneDefault with default headers values.
NewDeleteOneNoContent creates DeleteOneNoContent with default headers values.
NewDeleteOneParams creates a new DeleteOneParams object no default values defined in spec.
NewPatchOne creates a new http.Handler for the patch one operation.
NewPatchOneDefault creates PatchOneDefault with default headers values.
NewPatchOneOK creates PatchOneOK with default headers values.
NewPatchOneParams creates a new PatchOneParams object no default values defined in spec.
NewReadTodos creates a new http.Handler for the read todos operation.
NewReadTodosDefault creates ReadTodosDefault with default headers values.
NewReadTodosOK creates ReadTodosOK with default headers values.
NewReadTodosParams creates a new ReadTodosParams object with the default values initialized.
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 no default values defined in spec.
# Constants
CreateOneCreatedCode is the HTTP code returned for type CreateOneCreated.
DeleteOneNoContentCode is the HTTP code returned for type DeleteOneNoContent.
PatchOneOKCode is the HTTP code returned for type PatchOneOK.
ReadTodosOKCode is the HTTP code returned for type ReadTodosOK.
UpdateOneOKCode is the HTTP code returned for type UpdateOneOK.
# Structs
CreateOne swagger:route POST / todos createOne
CreateOne create one API
*/.
CreateOneCreated Создано
swagger:response createOneCreated
*/.
CreateOneDefault Ошибка
swagger:response createOneDefault
*/.
CreateOneParams contains all the bound params for the create one operation typically these are obtained from a http.Request
swagger:parameters createOne.
CreateOneURL generates an URL for the create one operation.
DeleteOne swagger:route DELETE /{id} todos deleteOne
DeleteOne delete one API
*/.
DeleteOneDefault Ошибка
swagger:response deleteOneDefault
*/.
DeleteOneNoContent Удалено
swagger:response deleteOneNoContent
*/.
DeleteOneParams contains all the bound params for the delete one operation typically these are obtained from a http.Request
swagger:parameters deleteOne.
DeleteOneURL generates an URL for the delete one operation.
PatchOne swagger:route PATCH /{id} todos patchOne
PatchOne patch one API
*/.
PatchOneBody patch one body
swagger:model PatchOneBody.
PatchOneDefault Ошибка
swagger:response patchOneDefault
*/.
PatchOneOK Ок
swagger:response patchOneOK
*/.
PatchOneParams contains all the bound params for the patch one operation typically these are obtained from a http.Request
swagger:parameters patchOne.
PatchOneURL generates an URL for the patch one operation.
ReadTodos swagger:route GET / todos readTodos
ReadTodos read todos API
*/.
ReadTodosDefault Ошибка
swagger:response readTodosDefault
*/.
ReadTodosOK Список дел
swagger:response readTodosOK
*/.
ReadTodosParams contains all the bound params for the read todos operation typically these are obtained from a http.Request
swagger:parameters readTodos.
ReadTodosURL generates an URL for the read todos operation.
UpdateOne swagger:route PUT /{id} todos updateOne
UpdateOne update one API
*/.
UpdateOneDefault Ошибка
swagger:response updateOneDefault
*/.
UpdateOneOK Ок
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
CreateOneHandler interface for that can handle valid create one params.
DeleteOneHandler interface for that can handle valid delete one params.
PatchOneHandler interface for that can handle valid patch one params.
ReadTodosHandler interface for that can handle valid read todos params.
UpdateOneHandler interface for that can handle valid update one params.
# Type aliases
CreateOneHandlerFunc turns a function with the right signature into a create one handler.
DeleteOneHandlerFunc turns a function with the right signature into a delete one handler.
PatchOneHandlerFunc turns a function with the right signature into a patch one handler.
ReadTodosHandlerFunc turns a function with the right signature into a read todos handler.
UpdateOneHandlerFunc turns a function with the right signature into a update one handler.