parameters

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0, BSD-2-Clause Imports: 2 Imported by: 8

Documentation

Index

Constants

View Source
const (
	LoggerLevel             = "logger.level"
	LoggerDisableCaller     = "logger.disableCaller"
	LoggerDisableStacktrace = "logger.disableStacktrace"
	LoggerEncoding          = "logger.encoding"
	LoggerOutputPaths       = "logger.outputPaths"
	LoggerDisableEvents     = "logger.disableEvents"

	DatabaseDir      = "database.directory"
	DatabaseInMemory = "database.inMemory"

	WebAPIBindAddress    = "webapi.bindAddress"
	WebAPIAdminWhitelist = "webapi.adminWhitelist"
	WebAPIAuth           = "webapi.auth"

	DashboardBindAddress       = "dashboard.bindAddress"
	DashboardExploreAddressUrl = "dashboard.exploreAddressUrl"
	DashboardAuth              = "dashboard.auth"

	VMBinaryDir     = "vm.binaries"
	VMDefaultVmType = "vm.defaultvm"

	NodeAddress = "nodeconn.address"

	PeeringMyNetId = "peering.netid"
	PeeringPort    = "peering.port"

	NanomsgPublisherPort = "nanomsg.port"
)
View Source
const (
	PriorityDatabase = iota

	PriorityPeering
	PriorityNodeConnection
	PriorityDispatcher
	PriorityWebAPI
	PriorityBadgerGarbageCollection
)

Variables

This section is empty.

Functions

func GetBool

func GetBool(name string) bool

func GetInt

func GetInt(name string) int

func GetString

func GetString(name string) string

func GetStringSlice

func GetStringSlice(name string) []string

func GetStringToString

func GetStringToString(name string) map[string]string

func InitFlags

func InitFlags()

Types

This section is empty.

Jump to

Keyboard shortcuts

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