package
Version:
v0.0.0-...-11e63cd
Opens a new window with list of versions in this module.
Published: Jun 23, 2022
License: MulanPSL-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
AllowMaxNumHosts = 100
Cfg = &Config{
HTTPListeningOnAddr: "0.0.0.0:8016",
Debug: false,
}
)
type Config struct {
HTTPListeningOnAddr string `toml:"http_listening_on_addr" comment:"HTTP服务监听的地址"`
Debug bool `toml:"debug" comment:"设置为 true 则会输出详细日志到 ./debug.log 文件"`
}
Config
Source Files
¶
Click to show internal directories.
Click to hide internal directories.