Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigOptions ¶
type ConfigOptions struct {
ServerUrl []string `json:"server_url" yaml:"server_url"`
Domain string `json:"domain" yaml:"domain"`
Port string `json:"port" yaml:"port"`
Request string `json:"request" yaml:"request"`
CronInterval uint64 `json:"cron_interval" yaml:"cron_interval"`
ShowRemoteSpeed bool `json:"show_remote_speed" yaml:"show_remote_speed"`
HealthCheckTimeout int `json:"healthcheck_timeout" yaml:"healthcheck_timeout"`
HealthCheckConnection int `json:"healthcheck_connection" yaml:"healthcheck_connection"`
SpeedTest bool `json:"speedtest" yaml:"speedtest"`
SpeedConnection int `json:"speed_connection" yaml:"speed_connection"`
SpeedTimeout int `json:"speed_timeout" yaml:"speed_timeout"`
}
ConfigOptions is a struct that represents config files
var Config ConfigOptions
Click to show internal directories.
Click to hide internal directories.