parameters

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: Apache-2.0, BSD-2-Clause Imports: 5 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"

	NodeAddress = "nodeconn.address"

	PeeringMyNetID                   = "peering.netid"
	PeeringPort                      = "peering.port"
	PeeringNeighbors                 = "peering.neighbors"
	PullMissingRequestsFromCommittee = "peering.pullMissingRequests"

	NanomsgPublisherPort = "nanomsg.port"

	IpfsGatewayAddress = "ipfs.gatewayAddress"

	OffledgerBroadcastUpToNPeers = "offledger.broadcastUpToNPeers"
	OffledgerBroadcastInterval   = "offledger.broadcastInterval"
	OffledgerAPICacheTTL         = "offledger.apiCacheTTL"

	ProfilingBindAddress   = "profiling.bindAddress"
	ProfilingEnabled       = "profiling.enabled"
	ProfilingWriteProfiles = "profiling.writeProfiles"

	MetricsBindAddress = "metrics.bindAddress"
	MetricsEnabled     = "metrics.enabled"
)
View Source
const (
	PriorityDatabase = iota

	PriorityChains
	PriorityPeering
	PriorityNodeConnection
	PriorityWebAPI
	PriorityDBGarbageCollection
	PriorityMetrics
)
View Source
const MaxSerializedTransactionToGoshimmer = 32 * 1024

Variables

This section is empty.

Functions

func Dump added in v0.2.0

func Dump() map[string]interface{}

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 Init added in v0.2.0

Types

This section is empty.

Jump to

Keyboard shortcuts

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