parameter

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Viper
	NodeConfig      = viper.New()
	NeighborsConfig = viper.New()
)

Functions

func AllowNeighborsConfigHotReload added in v0.3.0

func AllowNeighborsConfigHotReload()

func DenyNeighborsConfigHotReload added in v0.3.0

func DenyNeighborsConfigHotReload()

func FetchConfig

func FetchConfig(printConfig bool, ignoreSettingsAtPrint ...[]string) error

FetchConfig fetches config values from a dir defined via CLI flag --config-dir (or the current working dir if not set).

It automatically reads in a single config file starting with "config" (can be changed via the --config CLI flag) and ending with: .json, .toml, .yaml or .yml (in this sequence).

func IsNeighborsConfigHotReloadAllowed added in v0.3.0

func IsNeighborsConfigHotReloadAllowed() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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