embed

package
v0.0.0-...-13f148b Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterFlags

func RegisterFlags(f []cli.Flag) []cli.Flag

Types

type DomainSettings

type DomainSettings struct {
	*lazymap.LazyMap[*DomainSettingsData]
	// contains filtered or unexported fields
}

func NewDomainSettings

func NewDomainSettings(c *cli.Context, pg *cs.PG, claims *claims.Claims) (*DomainSettings, error)

func (*DomainSettings) Get

func (s *DomainSettings) Get(domain string) (*DomainSettingsData, error)

type DomainSettingsData

type DomainSettingsData struct {
	Ads          bool         `json:"ads"`
	Forbidden    bool         `json:"-"`
	Unauthorized bool         `json:"-"`
	Claims       *claims.Data `json:"-"`
	SessionID    string       `json:"-"`
}

Jump to

Keyboard shortcuts

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