Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct {
Backend Backend `json:"backend"`
Frontend interface{} `json:"frontend"`
}
AppConfig holds the whole app configuration.
func NewDefaultConfig ¶
func NewDefaultConfig() AppConfig
NewDefaultConfig returns the default app config.
type Backend ¶
type Backend struct {
BitcoinP2PKHActive bool `json:"bitcoinP2PKHActive"`
BitcoinP2WPKHP2SHActive bool `json:"bitcoinP2WPKHP2SHActive"`
BitcoinP2WPKHActive bool `json:"bitcoinP2WPKHActive"`
LitecoinP2WPKHP2SHActive bool `json:"litecoinP2WPKHP2SHActive"`
LitecoinP2WPKHActive bool `json:"litecoinP2WPKHActive"`
EthereumActive bool `json:"ethereumActive"`
BTC btcCoinConfig `json:"btc"`
TBTC btcCoinConfig `json:"tbtc"`
LTC btcCoinConfig `json:"ltc"`
TLTC btcCoinConfig `json:"tltc"`
ETH ethCoinConfig `json:"eth"`
TETH ethCoinConfig `json:"teth"`
}
Backend holds the backend specific configuration.
func (Backend) AccountActive ¶
AccountActive returns the Active setting for a coin by code.
Click to show internal directories.
Click to hide internal directories.