controllers

package module
v0.0.0-...-26beee7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL