Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultBTCNode = "http://bitcoinrpc:[email protected]:18332" DefaultETHNode = "http://192.168.1.146:8545" DefaultERC20Token = "0xaff4481d10270f50f203e0763e2597776068cbc5" DefaultBNCNode = "tcp://192.168.1.146:26657" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Network parameters. Set mainnet, testnet, or regtest using this. BTCConfig BTCConfig `mapstructure:"btc" json:"btc"` ETHConfig ETHConfig `mapstructure:"eth" json:"eth"` BNCConfig BNCConfig `mapstructure:"bnc" json:"bnc"` LogConfig LogConfig `mapstructure:"log" json:"log"` RESTConfig RESTConfig `mapstructure:"rest" json:"rest"` WSConfig WSConfig `mapstructure:"ws" json:"ws"` PruneTime int64 `mapstructure:"prune" json:"prune"` }
Config is app of conig
type RESTConfig ¶
Click to show internal directories.
Click to hide internal directories.