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
Click to show internal directories.
Click to hide internal directories.