# Functions
NewAddTodo creates a new http.Handler for the add todo operation.
NewAddTodoCreated creates AddTodoCreated with default headers values.
NewAddTodoDefault creates AddTodoDefault with default headers values.
NewAddTodoParams creates a new AddTodoParams object no default values defined in spec.
NewFindTodo creates a new http.Handler for the find todo operation.
NewFindTodoDefault creates FindTodoDefault with default headers values.
NewFindTodoOK creates FindTodoOK with default headers values.
NewFindTodoParams creates a new FindTodoParams object with the default values initialized.
NewRemoveTodo creates a new http.Handler for the remove todo operation.
NewRemoveTodoDefault creates RemoveTodoDefault with default headers values.
NewRemoveTodoNoContent creates RemoveTodoNoContent with default headers values.
NewRemoveTodoParams creates a new RemoveTodoParams object no default values defined in spec.
NewUpdateTodo creates a new http.Handler for the update todo operation.
NewUpdateTodoDefault creates UpdateTodoDefault with default headers values.
NewUpdateTodoOK creates UpdateTodoOK with default headers values.
NewUpdateTodoParams creates a new UpdateTodoParams object no default values defined in spec.
# Constants
AddTodoCreatedCode is the HTTP code returned for type AddTodoCreated.
FindTodoOKCode is the HTTP code returned for type FindTodoOK.
RemoveTodoNoContentCode is the HTTP code returned for type RemoveTodoNoContent.
UpdateTodoOKCode is the HTTP code returned for type UpdateTodoOK.
# Structs
AddTodo swagger:route POST /todos todos addTodo
AddTodo add todo API
*/.
AddTodoCreated Todo Created
swagger:response addTodoCreated
*/.
AddTodoDefault Create Error
swagger:response addTodoDefault
*/.
AddTodoParams contains all the bound params for the add todo operation typically these are obtained from a http.Request
swagger:parameters addTodo.
AddTodoURL generates an URL for the add todo operation.
FindTodo swagger:route GET /todos todos findTodo
FindTodo find todo API
*/.
FindTodoDefault generic error response
swagger:response findTodoDefault
*/.
FindTodoOK list of the todo operations
swagger:response findTodoOK
*/.
FindTodoParams contains all the bound params for the find todo operation typically these are obtained from a http.Request
swagger:parameters findTodo.
FindTodoURL generates an URL for the find todo operation.
RemoveTodo swagger:route DELETE /todos/{id} todos removeTodo
RemoveTodo remove todo API
*/.
RemoveTodoDefault Delete error
swagger:response removeTodoDefault
*/.
RemoveTodoNoContent Deleted
swagger:response removeTodoNoContent
*/.
RemoveTodoParams contains all the bound params for the remove todo operation typically these are obtained from a http.Request
swagger:parameters removeTodo.
RemoveTodoURL generates an URL for the remove todo operation.
UpdateTodo swagger:route PUT /todos/{id} todos updateTodo
UpdateTodo update todo API
*/.
UpdateTodoDefault Update error
swagger:response updateTodoDefault
*/.
UpdateTodoOK Updated
swagger:response updateTodoOK
*/.
UpdateTodoParams contains all the bound params for the update todo operation typically these are obtained from a http.Request
swagger:parameters updateTodo.
UpdateTodoURL generates an URL for the update todo operation.
# Interfaces
AddTodoHandler interface for that can handle valid add todo params.
FindTodoHandler interface for that can handle valid find todo params.
RemoveTodoHandler interface for that can handle valid remove todo params.
UpdateTodoHandler interface for that can handle valid update todo params.
# Type aliases
AddTodoHandlerFunc turns a function with the right signature into a add todo handler.
FindTodoHandlerFunc turns a function with the right signature into a find todo handler.
RemoveTodoHandlerFunc turns a function with the right signature into a remove todo handler.
UpdateTodoHandlerFunc turns a function with the right signature into a update todo handler.