Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultConfigUrl = "https://cfg.rpchub.io/agg/default.json"
)
Functions ¶
func SetDefault ¶
func SetDefault(cfg *Config)
Types ¶
type AuthorityDB ¶
type Config ¶
type Config struct {
Password string `json:"password,omitempty"`
Proxy string `json:"proxy,omitempty"`
RequestTimeout int64 `json:"request_timeout,omitempty"`
MaxRetries int `json:"max_retries,omitempty"`
Nodes map[string][]aggregator.Node `json:"nodes"`
PhishingDb []string `json:"phishing_db"`
PhishingDbUpdateInterval int64 `json:"phishing_db_update_interval"`
Mrt int64 `json:"mrt"`
AuthorityDB []AuthorityDB `json:"authority_db"`
}
func LoadDefault ¶
func LoadDefault() *Config
Click to show internal directories.
Click to hide internal directories.