config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentContractAddressKey    = "AGENT_CONTRACT_ADDRESS"
	AutoSSLDomainKey           = "AUTO_SSL_DOMAIN"
	AutoSSLCacheDirKey         = "AUTO_SSL_CACHE_DIR"
	BlockchainEnabledKey       = "BLOCKCHAIN_ENABLED"
	ConfigPathKey              = "CONFIG_PATH"
	DaemonListeningPortKey     = "DAEMON_LISTENING_PORT"
	DaemonTypeKey              = "DAEMON_TYPE"
	DbPathKey                  = "DB_PATH"
	EthereumJsonRpcEndpointKey = "ETHEREUM_JSON_RPC_ENDPOINT"
	ExecutablePathKey          = "EXECUTABLE_PATH"
	HdwalletIndexKey           = "HDWALLET_INDEX"
	HdwalletMnemonicKey        = "HDWALLET_MNEMONIC"
	LogLevelKey                = "LOG_LEVEL"
	PassthroughEnabledKey      = "PASSTHROUGH_ENABLED"
	PassthroughEndpointKey     = "PASSTHROUGH_ENDPOINT"
	PollSleepKey               = "POLL_SLEEP"
	PrivateKeyKey              = "PRIVATE_KEY"
	ServiceTypeKey             = "SERVICE_TYPE"
	SSLCertPathKey             = "SSL_CERT"
	SSLKeyPathKey              = "SSL_KEY"
	WireEncodingKey            = "WIRE_ENCODING"
)

Variables

This section is empty.

Functions

func GetBool

func GetBool(key string) bool

func GetDuration

func GetDuration(key string) time.Duration

func GetInt

func GetInt(key string) int

func GetString

func GetString(key string) string

func Validate

func Validate() error

func Vip

func Vip() *viper.Viper

Types

This section is empty.

Jump to

Keyboard shortcuts

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