Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Path string `yaml:"path"` ServerID string `yaml:"id"` Host string `yaml:"host"` Port int `yaml:"port"` DataDir string `yaml:"dir"` Bootstrap bool `yaml:"bootstrap"` Peers []string `yaml:"peers"` SerfPort int `yaml:"serf_port"` StatsTimer time.Duration `yaml:"stats_loop_timer"` BackgroundTimer time.Duration `yaml:"background_loop_timer"` DBName string }
func (*Config) ListenAddress ¶
func (*Config) RaftAddress ¶
func (*Config) ServiceAddress ¶
Click to show internal directories.
Click to hide internal directories.