Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type Config ¶
type Config struct { Debug bool `yaml:"debug,omitempty"` Server ServerConfig `yaml:"server"` Database DatabaseConfig `yaml:"database"` Initialization InitializationConfig `yaml:"initialization"` Providers ProvidersConfig `yaml:"providers,omitempty"` Auth AuthConfig `yaml:"auth"` }
func LoadConfig ¶
type DatabaseConfig ¶
type DefaultAdminConfig ¶
type InitializationConfig ¶
type InitializationConfig struct { DefaultAdmin DefaultAdminConfig `yaml:"default_admin"` AdminGroup string `yaml:"admin_group"` Permissions []PermissionConfig `yaml:"permissions,omitempty"` }
type PermissionConfig ¶
type ProvidersConfig ¶
type ProvidersConfig struct {
CacheDir string `yaml:"cache"`
}
Click to show internal directories.
Click to hide internal directories.