package
Version:
v0.0.0-...-db1acbc
Opens a new window with list of versions in this module.
Published: Mar 12, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ConfMain struct {
ConfGlobal Global `yaml:"Global" json:"Global"`
ConfDNS DNS `yaml:"DNS" json:"DNS"`
ConfWeb Web `yaml:"Web" json:"Web"`
}
type DNS struct {
Bind string `yaml:"bind" json:"bind"`
ProxyDNS string `yaml:"ProxyDNS" json:"ProxyDNS"`
ProxyDNSPort int `yaml:"ProxyDNSPort" json:"ProxyDNSPort"`
OnlineStatus bool `yaml:"OnlineStatus" json:"OnlineStatus"`
}
type Global struct {
RedisHost string `yaml:"RedisHost" json:"RedisHost"`
Auth string `yaml:"Auth" json:"Auth"`
DB int `yaml:"DB" json:"DB"`
}
type Web struct {
Bind string `yaml:"bind" json:"bind"`
RegisterKeys string `yaml:"RegisterKeys" json:"RegisterKeys"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.