config

package
v0.0.0-...-80a1494 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: OSL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfiguration

func NewConfiguration() (*configuration, error)

Types

type Configuration

type Configuration interface {
	InitSharedConfig(baseDir string) error
	InitEnvBasedConfig(baseDir string, envName string) error
	Exists() bool
	GetAccountDbPath() string
	GetDefaultAccount() string
	SetDefaultAccount(account string) error
	GetCurrentEnv() string
	SetCurrentEnv(account string) error
	GetEnvList() []string
	GetRpcUrl() string
	GetDrsAddress() string
	GetHeartAddress() string
}

Jump to

Keyboard shortcuts

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