Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppName = "auth-api"
View Source
var AppVersion = "0.1.0"
View Source
var BuildTime = "unknown"
View Source
var GitSHA1 = "unknown"
Functions ¶
This section is empty.
Types ¶
type ConfigTpl ¶
type ConfigTpl struct {
Rand *rand.Rand
GlobalCtx context.Context
Env string `json:"env" toml:"env"`
Home string `json:"home" toml:"home"`
Logger Logger `json:"log" toml:"log"`
Server Server `json:"server" toml:"server"`
Cookie Cookie `json:"cookie" toml:"cookie"`
Userbase Userbase `json:"userbase" toml:"userbase"`
Keys Keys `json:"keys" toml:"keys"`
Providers map[string]Provider `json:"providers" toml:"providers"`
COSEKeys struct {
CWTPub key.Key
Oauth2State key.Key
}
}
ConfigTpl ...
var Config ConfigTpl
Config ...
Click to show internal directories.
Click to hide internal directories.