config

package
v1.0.1-0...-a908c99 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RegistryClient registry.Client
)

Functions

func ListenForConfigChanges

func ListenForConfigChanges()

func LoadConfig

func LoadConfig(useRegistry string, profile string, confDir string) (configuration *common.Config, err error)

LoadConfig loads the local configuration file based upon the specified parameters and returns a pointer to the global Config struct which holds all of the local configuration settings for the DS. The string useRegisty indicates whether the registry should be used to read config settings, and it might contain the registry path. This also controls whether the service registers itself the registry. The profile and confDir are used to locate the local TOML config file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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