Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTodoHandler ¶
func RegisterTodoHandler(e *gin.Engine, s storage.TodoStorage) error
Types ¶
type CreateTodoReq ¶
type GetTodoRes ¶
type ListTodoRes ¶
type ListTodoRes []GetTodoRes
type TodoHandler ¶
type TodoHandler struct {
// contains filtered or unexported fields
}
func (*TodoHandler) Create ¶
func (h *TodoHandler) Create(c *gin.Context)
func (*TodoHandler) Delete ¶
func (h *TodoHandler) Delete(c *gin.Context)
func (*TodoHandler) Get ¶
func (h *TodoHandler) Get(c *gin.Context)
func (*TodoHandler) List ¶
func (h *TodoHandler) List(c *gin.Context)
func (*TodoHandler) Update ¶
func (h *TodoHandler) Update(c *gin.Context)
type UpdateTodoReq ¶
Click to show internal directories.
Click to hide internal directories.