Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { NodeID string `mapstructure:"NODE_ID"` NodeAddress string `mapstructure:"NODE_ADDRESS"` Port int `mapstructure:"PORT"` MinPort int `mapstructure:"MIN_PORT"` MaxPort int `mapstructure:"MAX_PORT"` DiscoveryStrategy string `mapstructure:"DISCOVERY_STRATEGY"` KubernetesService string `mapstructure:"KUBERNETES_SERVICE"` KubernetesNamespace string `mapstructure:"KUBERNETES_NAMESPACE"` }
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.