Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Conf conf Conf = &Config{} )
Functions ¶
func ConfigWalther ¶ added in v0.1.2
func ConfigWalther(fp string)
ConfigWalther watch configuration file change or not
Types ¶
type Config ¶
type Config struct { Nodes []string Zones map[string][]string HTTPServer *ServerConfig HTTPClient *http.ClientConfig Env *Env // Scheduler []byte Schedulers map[string]*model.Scheduler }
Config config.
func LoadConfig ¶ added in v0.1.2
LoadConfig load config from file toml
type DiscoveryConfig ¶ added in v0.1.2
type DiscoveryConfig = Config
Click to show internal directories.
Click to hide internal directories.