domain

package
v0.0.0-...-4044be6 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Nonce

type Nonce struct {
	HtmxNonce           string
	PicoCSSNonce        string
	HyperscriptNonce    string
	PreloadNonce        string
	UmamiNonce          string
	CSSScopeInlineNonce string
}

type Permission

type Permission int64

Permission is the permission level of a user.

const (
	PermissionNone  Permission = iota // PermissionNone is the default permission level.
	PermissionUser                    // PermissionUser is the permission level of a user.
	PermissionVip                     // PermissionVip is the permission level of a vip.
	PermissionAdmin                   // PermissionAdmin is the permission level of an admin.
)

func (Permission) IsValid

func (p Permission) IsValid() bool

func (Permission) String

func (p Permission) String() string

Jump to

Keyboard shortcuts

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