|
@@ -51,24 +51,24 @@ type Config struct {
|
|
|
redisAddr string
|
|
|
defaultEventPath string
|
|
|
defaultEventRefresh string
|
|
|
- description string // description of the current program
|
|
|
- versionString string // program name and version number
|
|
|
- defaultOpenExecutable string // default program for opening files and URLs in the current operating system
|
|
|
+ description string // 当前程序的描述
|
|
|
+ versionString string // 程序名称和版本号
|
|
|
+ defaultOpenExecutable string // 用于在当前操作系统中打开文件和URL的默认程序
|
|
|
serverHost string
|
|
|
defaultEventColonPort string
|
|
|
- defaultLimitString string // default rate limit, as a string
|
|
|
- limitRequestsString string // store the request limit as a string for faster HTTP header creation later on
|
|
|
- defaultBoltFilename string // default bolt database file, for some operating systems
|
|
|
- defaultLogFile string // default log file, for some operating systems
|
|
|
- defaultLuaDataFilename string // default filename for a Lua script that provides data to a template
|
|
|
+ defaultLimitString string // 默认速率限制,作为字符串
|
|
|
+ limitRequestsString string // 将请求限制存储为字符串,以便以后更快地创建
|
|
|
+ defaultBoltFilename string // 默认螺栓数据库文件,适用于某些操作系统
|
|
|
+ defaultLogFile string // 默认日志文件,适用于某些操作系统
|
|
|
+ defaultLuaDataFilename string // 为模板提供数据的Lua脚本的默认文件名
|
|
|
defaultRedisColonPort string
|
|
|
- serverDirOrFilename string // exposed to the server configuration scripts(s)
|
|
|
- serverAddr string // exposed to the server configuration scripts(s)
|
|
|
- serverCert string // exposed to the server configuration scripts(s)
|
|
|
- serverKey string // exposed to the server configuration scripts(s)
|
|
|
- serverConfScript string // exposed to the server configuration scripts(s)
|
|
|
+ serverDirOrFilename string // 暴露给服务器配置脚本
|
|
|
+ serverAddr string // 暴露给服务器配置脚本
|
|
|
+ serverCert string // 暴露给服务器配置脚本
|
|
|
+ serverKey string // 暴露给服务器配置脚本
|
|
|
+ serverConfScript string // 暴露给服务器配置脚本
|
|
|
defaultWebColonPort string
|
|
|
- serverLogFile string // exposed to the server configuration scripts(s)
|
|
|
+ serverLogFile string // 暴露给服务器配置脚本
|
|
|
serverTempDir string // temporary directory
|
|
|
cookieSecret string // secret to be used when setting and getting user login cookies
|
|
|
defaultTheme string // theme for Markdown and error pages
|
|
@@ -83,7 +83,7 @@ type Config struct {
|
|
|
combinedAccessLogFilename string // CLF access log
|
|
|
commonAccessLogFilename string // NCSA access log
|
|
|
boltFilename string
|
|
|
- internalLogFilename string // exposed to the server configuration scripts(s)
|
|
|
+ internalLogFilename string // 暴露给服务器配置脚本
|
|
|
mariadbDSN string // connection string
|
|
|
mariaDatabase string // database name
|
|
|
postgresDSN string // connection string
|