Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfigDefault ¶
func InitConfigDefault()
func InitConfigFromFile ¶
Types ¶
type CheckerConfig ¶
type DockerConfig ¶
type DockerConfig struct {
Network string `yaml:"network"`
}
type EagleConfig ¶
type EagleConfig struct { Labels []string `yaml:"labels"` *HealthCheckConfig `mapstructure:"health"` *EtcdConfig `mapstructure:"etcd"` *ServerConfig `mapstructure:"server"` *DockerConfig `mapstructure:"docker"` }
var Conf EagleConfig
type EtcdConfig ¶
type HealthCheckConfig ¶
type HealthCheckConfig struct { Timeout uint8 `yaml:"timeout"` Interval uint8 `yaml:"interval"` *CheckerConfig `mapstructure:"checker"` }
type ServerConfig ¶
Click to show internal directories.
Click to hide internal directories.