Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppSetting = &App{}
AppSetting app配置
View Source
var DatabaseSetting = &Database{}
DatabaseSetting 数据库配置
View Source
var RedisSetting = &Redis{}
RedisSetting Redis配置
View Source
var ServerSetting = &Server{}
ServerSetting 服务器配置
Functions ¶
Types ¶
type App ¶
type App struct { JwtSecret string PageSize int RuntimeRootPath string PrefixURL string ImageSavePath string ImageMaxSize int ImageAllowExts []string ExportSavePath string LogSavePath string LogSaveName string LogFileExt string TimeFormat string }
App app配置Model
type Database ¶
type Database struct { Type string User string Password string Host string Name string TablePrefix string }
Database 数据库配置Model
Click to show internal directories.
Click to hide internal directories.