Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
PostgresSQL database config
View Source
var ( // DeroNetwork is either mainnet or testnet DeroNetwork string // DeroDaemonAddress is the host:port of the (possibly remote) node active wallets will connect to DeroDaemonAddress string // WalletsPath is the relative path of the directory where active wallets files will be stored WalletsPath string // PaymentMaxTTL is the MAX number of MINUTES allowed to receive payment before it expires PaymentMaxTTL int // PaymentMinConfirmations is the MINIMUM number of confirmations a payment needs to have before it is considered valid PaymentMinConfirmations int )
Dero Network, wallet and payments config
View Source
var ( TestDBName string TestDBUser string TestDBPassword string TestDBHost string TestDBPort int TestRedisAddress string TestDeroNetwork string TestDeroDaemonAddress string TestWalletsPath string )
Config for testing
View Source
var RedisAddress string
RedisAddress is the host:port of the Redis server the application will connect to
View Source
var ServerPort int
ServerPort is the port the web server will listen to
Functions ¶
func LoadFromENV ¶
LoadFromENV loads the config from .env file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.