controller

package
v0.0.0-...-f5c700e Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TODOS = "todos"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(app *pocketbase.PocketBase) Handler

type LoginHandler

type LoginHandler struct{ Handler }

func NewLoginHandler

func NewLoginHandler(app *pocketbase.PocketBase) LoginHandler

func (LoginHandler) GetLogin

func (h LoginHandler) GetLogin(c echo.Context) error

func (LoginHandler) PostLogin

func (h LoginHandler) PostLogin(c echo.Context) error

func (LoginHandler) PostLogout

func (h LoginHandler) PostLogout(c echo.Context) error

type TodoHandler

type TodoHandler struct{ Handler }

func NewTodoHandler

func NewTodoHandler(app *pocketbase.PocketBase) TodoHandler

func (TodoHandler) GetTodos

func (h TodoHandler) GetTodos(c echo.Context) error

func (TodoHandler) PostToggleTodo

func (h TodoHandler) PostToggleTodo(c echo.Context) error

Jump to

Keyboard shortcuts

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