Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server Server HTTPHealthCheck []HTTPHealthCheck Concurrency int Kubernetes Kubernetes Consul Consul // contains filtered or unexported fields }
func (*Config) ReadConfig ¶
func (*Config) ReadConfigFromConfigMap ¶
ReadConfigFromFile reads the configuration from a Kubernetes ConfigMap.
func (*Config) ReadConfigFromFile ¶
func (c *Config) ReadConfigFromFile()
ReadConfigFromFile reads the configuration from a file.
func (*Config) SetDefault ¶
func (*Config) SetFromEnv ¶
type HTTPHealthCheck ¶
type Kubernetes ¶
type Kubernetes struct {
Enabled bool
}
Click to show internal directories.
Click to hide internal directories.