Documentation ¶
Index ¶
Constants ¶
View Source
const ( // NeutrinoDUrlKey is the key for the neutrino url NeutrinoDUrlKey = "NEUTRINOD_URL" // ExplorerUrlKey is the URL of the Liquid network ExplorerUrlKey = "EXPLORER_URL" //PeerUrlKey is the URL of the peer node PeerUrlKey = "PEER_URL" // NetworkKey is the network to use. Either liquid, testnet or regtest NetworkKey = "NETWORK" // LogLevelKey are the different logging levels. For reference on the values https://godoc.org/github.com/sirupsen/logrus#Level LogLevelKey = "LOG_LEVEL" // DbUserKey is user used to connect to db DbUserKey = "DB_USER" // DbPassKey is password used to connect to db DbPassKey = "DB_PASS" // DbHostKey is host where db is installed DbHostKey = "DB_HOST" // DbPortKey is port on which db is listening DbPortKey = "DB_PORT" // DbNameKey is name of database DbNameKey = "DB_NAME" // DbMigrationPath is the path to migration files DbMigrationPath = "DB_MIGRATION_PATH" )
Variables ¶
This section is empty.
Functions ¶
func GetDuration ¶
func GetStringSlice ¶
func LoadConfig ¶
func LoadConfig() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.