Documentation ¶
Index ¶
- Variables
- type ListController
- type SystemController
- type TodoItemController
- func (ctrl TodoItemController) Delete(ctx *fiber.Ctx) error
- func (ctrl TodoItemController) GetItemsByList(ctx *fiber.Ctx) error
- func (ctrl TodoItemController) Index(ctx *fiber.Ctx) error
- func (ctrl TodoItemController) Post(ctx *fiber.Ctx) error
- func (ctrl TodoItemController) Put(ctx *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrListEmptyName = errors.New("List name cannot be empty")
)
Functions ¶
This section is empty.
Types ¶
type ListController ¶
type ListController struct {
// contains filtered or unexported fields
}
func NewListController ¶
func NewListController(env *lib.Env) *ListController
func (ListController) Delete ¶
func (ctrl ListController) Delete(ctx *fiber.Ctx) error
func (ListController) GetLists ¶
func (ctrl ListController) GetLists(ctx *fiber.Ctx) error
func (ListController) NewList ¶
func (ctrl ListController) NewList(ctx *fiber.Ctx) error
func (ListController) Post ¶
func (ctrl ListController) Post(ctx *fiber.Ctx) error
func (ListController) Put ¶
func (ctrl ListController) Put(ctx *fiber.Ctx) error
type SystemController ¶
type SystemController struct {
// contains filtered or unexported fields
}
func NewSystemController ¶
func NewSystemController(env *lib.Env) *SystemController
func (SystemController) Instance ¶
func (ctrl SystemController) Instance(ctx *fiber.Ctx) error
func (SystemController) Ping ¶
func (ctrl SystemController) Ping(ctx *fiber.Ctx) error
type TodoItemController ¶
type TodoItemController struct {
// contains filtered or unexported fields
}
func NewTodoController ¶
func NewTodoController(env *lib.Env) *TodoItemController
func (TodoItemController) Delete ¶
func (ctrl TodoItemController) Delete(ctx *fiber.Ctx) error
func (TodoItemController) GetItemsByList ¶
func (ctrl TodoItemController) GetItemsByList(ctx *fiber.Ctx) error
func (TodoItemController) Index ¶
func (ctrl TodoItemController) Index(ctx *fiber.Ctx) error
func (TodoItemController) Post ¶
func (ctrl TodoItemController) Post(ctx *fiber.Ctx) error
func (TodoItemController) Put ¶
func (ctrl TodoItemController) Put(ctx *fiber.Ctx) error
Click to show internal directories.
Click to hide internal directories.