Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( C *Config Server ServerConfig Redis RedisConfig Mysql MysqlConfig Smtp SmtpConfig Aliyun AliyunConfig Jwt JwtConfig Developer DeveloperConfig RedisPrefix string )
Functions ¶
This section is empty.
Types ¶
type AliyunConfig ¶
type Config ¶
type Config struct { ServerConfig `yaml:"Server"` RedisConfig `yaml:"Redis"` MysqlConfig `yaml:"Mysql"` SmtpConfig `yaml:"Smtp"` AliyunConfig `yaml:"Aliyun"` JwtConfig `yaml:"Jwt"` DeveloperConfig `yaml:"Developer"` }
type DeveloperConfig ¶
type DeveloperConfig struct {
AppLimit int `yaml:"AppLimit"`
}
type MysqlConfig ¶
type RedisConfig ¶
type ServerConfig ¶
Click to show internal directories.
Click to hide internal directories.