Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Maintenance bool `default:"false"` BindAddr string `split_words:"true" default:":443"` Mode string `default:"release"` LogLevel logger.LevelDecoder `split_words:"true" default:"info"` ConsoleLog bool `split_words:"true" default:"false"` AllowOrigins []string `split_words:"true" default:"https://yubikey.local"` WebAuthn WebAuthnConfig `split_words:"true"` TLS TLSConfig // contains filtered or unexported fields }
func (Config) GetLogLevel ¶
type TLSConfig ¶
type WebAuthnConfig ¶
type WebAuthnConfig struct { RPID string `default:"yubikey.local"` DisplayName string `split_words:"true" default:"Yubikey Authn Debugger"` Origins []string `default:"https://yubikey.local"` }
func (WebAuthnConfig) Config ¶
func (c WebAuthnConfig) Config() *webauthn.Config
Click to show internal directories.
Click to hide internal directories.