Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { AppName string `yaml:"AppName"` Port string `yaml:"Port"` DataSource DataSource `yaml:"DataSource"` Redis RedisCfg `yaml:"Redis"` Jwt JwtCfg `yaml:"Jwt"` Log LogCfg `yaml:"Log"` }
var Setting Config // 配置(全局变量)
type DataSource ¶
DataSource 数据库
Click to show internal directories.
Click to hide internal directories.