Documentation
¶
Index ¶
- Constants
- Variables
- func EnableDebugPage() bool
- func Init() error
- func IsDebugLoggingEnabled() bool
- func IsDocker() bool
- func IsProductionMode() bool
- func RegisterForUpdates(listener UpdateListener)
- func RunErrorServer(errorsFound []string)
- func ValidateConfig() []string
- func WriteCurrentConfigState(overrides ...WriteOverride) error
- type UpdateListener
- type WriteOverride
Constants ¶
View Source
const ( KeyPasskeysDisabled = "passkeys.disabled" DefaultCookieLifetime = "session.cookie.timeout" DefaultSessionLifetime = "session.timeout" AttachUsernameAuthResponseHeader = "auth.attach_username_header" AttachUserIDAuthResponseHeader = "auth.attach_userid_header" DisableSecurityHeaders = "security.disable_headers" )
Variables ¶
View Source
var ( Lock sync.RWMutex DebugFlagOverride atomic.Uint32 )
Functions ¶
func EnableDebugPage ¶
func EnableDebugPage() bool
func IsDebugLoggingEnabled ¶
func IsDebugLoggingEnabled() bool
func IsProductionMode ¶
func IsProductionMode() bool
func RegisterForUpdates ¶
func RegisterForUpdates(listener UpdateListener)
func RunErrorServer ¶
func RunErrorServer(errorsFound []string)
func ValidateConfig ¶
func ValidateConfig() []string
func WriteCurrentConfigState ¶
func WriteCurrentConfigState(overrides ...WriteOverride) error
Types ¶
type UpdateListener ¶
type WriteOverride ¶
Click to show internal directories.
Click to hide internal directories.