package
Version:
v0.0.0-...-2403d1f
Opens a new window with list of versions in this module.
Published: Oct 23, 2017
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CacheSettings struct {
Backend string `toml:"backend"`
Expire int `toml:"expire"`
Maxcount int `toml:"maxcount"`
}
type DownloadSetting struct {
Enable bool
Dest string `toml:"dest"`
}
type HostsSettings struct {
Enable bool
HostsFile string `toml:"host-file"`
TTL uint32 `toml:"ttl"`
}
type RedisSettings struct {
Host string `toml:"host"`
Passwd string `toml:"passwd"`
}
type ResolvSettings struct {
Enable bool `toml:"enable"`
ResolvFile string `toml:"resolv-file"`
Timeout int
Interval int
}
type ServerSetting struct {
Debug bool `toml:"debug"`
Addr string `toml:"addr"`
Port int `toml:"port"`
EnableWeb bool `toml:"enableweb"`
EnableDNS bool `toml:"enabledns"`
Master bool `toml:"master"`
}
type SessionSetting struct {
Backend string `toml:"backend"`
Maxage int `toml:"maxage"`
}
type SlaveSetting struct {
MasterHost string `toml:"master_host"`
Accesskey string `toml:"accesskey"`
SecretKey string `toml:"secretKey"`
UpdateTime int64 `toml:"update_time"`
}
type SqliteSetting struct {
Path string `toml:"path"`
}
type WebSetting struct {
Port int `toml:"port"`
Admin string `toml:"admin"`
Passwd string `toml:"passwd"`
AssetsImageHost string `toml:"assets_image_host"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.