Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Argon2Params ¶
type Config ¶
type Config struct {
Addr string `json:"address"`
BaseURL string `json:"baseURL"`
UseSecureCookies bool
Database Database `json:"database"`
FileDir string `json:"fileDir"`
TmpDir string
TagAlgorithm string `json:"tagAlgorithm"`
DefaultCurrency string `json:"defaultCurrency"`
DecimalSeparator string `json:"decimalSeparator"`
Auth Auth `json:"auth"`
LogLevel string `json:"logLevel"`
LogFormat string `json:"logFormat"`
}
func NewConfigFromEnv ¶
type LocalAuth ¶
type LocalAuth struct {
InitialAdminPassword string `json:"initialAdminPassword"`
Argon2Params Argon2Params `json:"argon2"`
}
Click to show internal directories.
Click to hide internal directories.