Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfiguration ¶
func DefaultConfiguration()
func NodeRouter ¶
Types ¶
type BlockchainConfig ¶
type Configuration ¶
type Configuration struct { Version string Build int Blockchain BlockchainConfig P2P P2PConfig Directory struct { Base string Wallet string } NodeManager struct { Config ConfigurationOptions } PoolManager struct { Database DatabaseConfig Config ConfigurationOptions } ApplicationServer struct { Database DatabaseConfig Config ConfigurationOptions } }
func ViperConfiguration ¶
func ViperConfiguration() Configuration
Returns the singleton viper config as a parsed struct
type ConfigurationOptions ¶
type DatabaseConfig ¶
type DatabaseConfig struct { Type string Host string Port string User string Name string Password string SSL bool }
func (*DatabaseConfig) GormConnectionString ¶
func (databaseConfig *DatabaseConfig) GormConnectionString() string
Click to show internal directories.
Click to hide internal directories.