Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = &Config{}
Functions ¶
func InitFromFile ¶
Types ¶
type Config ¶
type Config struct { Mysql string `yaml:"mysql"` Sqlite string `yaml:"sqlite"` DBType string `yaml:"dbType"` Debug bool `yaml:"debug"` Token TokenConfig `yaml:"token"` SuperAdminRoleID string `yaml:"superAdminRoleID"` PlatformTenantID string `yaml:"platformTenantID"` DefaultRoleID string `yaml:"defaultRoleID"` DefaultPwd string `yaml:"defaultPwd"` MiniApp []MiniAppConfig `yaml:"miniApp"` EnableTenant bool `yaml:"enableTenant"` }
type MiniAppConfig ¶
Click to show internal directories.
Click to hide internal directories.