Documentation ¶
Overview ¶
The global values in the application.
Index ¶
Constants ¶
View Source
const ( ConfigPath string = "config.json" //配置文件存放位置 LogPath string = "log" //日志文件 DefaultSitePort int = 9710 //默认端口 DefaultSiteName string = "GoM-私人文件管理" //默认站点名字 DefaultFileRoot string = "./files" //默认文件根目录 DefaultLogSaveDays int = 30 //日志最大存储天数 )
The global constants.
Variables ¶
View Source
var ( App application Conf config Log logger DB database Cron cron )
The global variables.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.