server

package
v0.0.0-...-087a31b Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(c echo.Context) error

func Init

func Init() (*echo.Echo, error)

func Login

func Login(c echo.Context) error

func LoginUI

func LoginUI(c echo.Context) error

func Logout

func Logout(c echo.Context) error

func Page

func Page(c echo.Context, title string, nodes ...Node) error

func UI

func UI(c echo.Context) error

Types

type CookieUser

type CookieUser struct {
	ID      uint
	Name    string
	IsAdmin bool
	Groups  []string
}

Jump to

Keyboard shortcuts

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