data

package
v0.0.0-...-a8781a0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserClaims

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

func ParseUserClaims

func ParseUserClaims(ctx *echo.Context) (UserClaims, error)

func (UserClaims) UserFlags

func (c UserClaims) UserFlags() (UserFlags, error)

func (UserClaims) UserId

func (c UserClaims) UserId() (db.Id, error)

type UserFlags

type UserFlags uint
const (
	UserFlagsNone   UserFlags = 0
	UserFlagsLogin  UserFlags = 1
	UserFlagsEditor UserFlags = 2
)

Jump to

Keyboard shortcuts

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