Versions in this module Expand all Collapse all v1 v1.1.5 Oct 20, 2022retracted Changes in this version + const DefaultConfigFile + const DefaultLogDirectory + const DefaultLogFile + const DefaultMarkupPollThreshold + const DefaultPollStateJSONLog + const DefaultTOLoginDispersionFactor + const DefaultTrafficServerBinDir + const DefaultTrafficServerConfigDir + const DefaultUnavailablePollThreshold + func GetRequestTimeout() time.Duration + func GetTMPollingInterval() time.Duration + func GetTOLoginDispersion(dispersionFactor int) time.Duration + func GetTrafficMonitors(cfg *Cfg) error + func LoadConfig(cfg *Cfg) (bool, error) + func ReadCredentials(cfg *Cfg, updating bool) error + func UpdateConfig(cfg *Cfg, newCfg *Cfg) + func Usage() + type Cfg struct + CDNName string + CredentialFile util.ConfigFile + EnableActiveMarkdowns bool + EnablePollStateLog bool + HealthClientConfigFile util.ConfigFile + MarkUpPollThreshold int + ParsedProxyURL *url.URL + PollStateJSONLog string + ReasonCode string + TOCredentialFile string + TOLoginDispersionFactor int + TOPass string + TORequestTimeOutSeconds string + TOUrl string + TOUser string + TmPollIntervalSeconds string + TmProxyURL string + TrafficMonitors map[string]bool + TrafficServerBinDir string + TrafficServerConfigDir string + UnavailablePollThreshold int + func GetConfig() (Cfg, error, bool) + type LogCfg struct + LogLocationDebug string + LogLocationErr string + LogLocationInfo string + LogLocationWarn string + func (lcfg LogCfg) DebugLog() log.LogLocation + func (lcfg LogCfg) ErrorLog() log.LogLocation + func (lcfg LogCfg) EventLog() log.LogLocation + func (lcfg LogCfg) InfoLog() log.LogLocation + func (lcfg LogCfg) WarningLog() log.LogLocation Incompatible versions in this module v6.1.0+incompatible Feb 4, 2022