Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DBName string `json:"db_name"` // DBName is the type of database to use. Right now, only "sqlite3" is supported DBPath string `json:"db_path"` // DBPath is the name of the database itself. HostAddress string `json:"host_address"` // HostAddress is the address to listen for connections on. HostPort string `json:"host_port"` // HostPort is the port to listen on. LogFile string `json:"log_file"` // LogFile is an optional file to log messages to. RelyingParty string `json:"relying_party"` // RelyingParty is the name of the WebAuthn relying party. }
Config represents the configuration information.
func LoadConfig ¶
LoadConfig loads a configuration at the provided filepath, returning the parsed configuration.
Click to show internal directories.
Click to hide internal directories.