backend

package
v0.3.29 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: AGPL-3.0 Imports: 29 Imported by: 39

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WebSocketLogger = log.GetLogger(`websocket`).SetLevel(`Info`)

Functions

func AutoCompletePath

func AutoCompletePath(ctx echo.Context) error

func DecryptPassword

func DecryptPassword(c echo.Context, pass string) (string, error)

func FireAutoCompletePath

func FireAutoCompletePath(c echo.Context) (bool, error)

func FireInstalled

func FireInstalled(ctx echo.Context) error

func FrontendURLFor

func FrontendURLFor(purl string, relative ...bool) string

func GlobalFuncMap

func GlobalFuncMap() map[string]interface{}

func IsBackendAdmin

func IsBackendAdmin(c echo.Context) bool

func NoticeWriter

func NoticeWriter(ctx echo.Context, noticeType string) (wOut io.Writer, wErr io.Writer, err error)

func OnAutoCompletePath

func OnAutoCompletePath(fn func(echo.Context) (bool, error))

func OnInstalled

func OnInstalled(cb func(ctx echo.Context) error)

func QrCode added in v0.0.3

func QrCode(ctx echo.Context) error

func URLFor

func URLFor(purl string, relative ...bool) string

func User

func User(ctx echo.Context) *dbschema.NgingUser

Types

This section is empty.

Directories

Path Synopsis
Package oauth2nging implements the OAuth2 protocol for authenticating users through nging.
Package oauth2nging implements the OAuth2 protocol for authenticating users through nging.

Jump to

Keyboard shortcuts

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