config

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 4, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Storage               string
	UseCache              bool
	Debug                 bool
	TokenSecret           string
	TokenAudience         string
	TokenIssuer           string
	TokenExpiration       time.Duration
	CookieName            string
	EnableStatefulAuth    bool
	DisableStatelessAuth  bool
	DefaultGroupName      string
	DefaultAdminGroupName string
	ReturnUserRoles       bool
}

func (Config) GetCookieName

func (c Config) GetCookieName() string

func (Config) GetDefaultAdminGroupName

func (c Config) GetDefaultAdminGroupName() string

func (Config) GetDefaultGroupName

func (c Config) GetDefaultGroupName() string

func (Config) GetRolesKey

func (c Config) GetRolesKey() string

func (Config) GetUserKey

func (c Config) GetUserKey() string

Jump to

Keyboard shortcuts

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