node

package
v0.0.0-...-94d2ec4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

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

func LoadConfig() (config *Config, e error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL