Documentation ¶
Index ¶
- Variables
- type BitcoinNetwork
- type Config
- func (network *Config) GetBitcoinNetwork() BitcoinNetwork
- func (network *Config) GetEthereumNetwork() EthereumNetwork
- func (network *Config) SetBitcoinNetwork(bitcoinNetwork BitcoinNetwork)
- func (config *Config) SetEthereumNetwork(ethereumConfig EthereumNetwork)
- func (network *Config) Update() error
- type EthereumNetwork
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnSupportedPriorityCode = errors.New("Un Supported Priority Code")
Functions ¶
This section is empty.
Types ¶
type BitcoinNetwork ¶
type Config ¶
type Config struct { Network string `json:"network"` Ethereum EthereumNetwork `json:"ethereum"` Bitcoin BitcoinNetwork `json:"bitcoin"` // contains filtered or unexported fields }
func LoadNetwork ¶
func (*Config) GetBitcoinNetwork ¶
func (network *Config) GetBitcoinNetwork() BitcoinNetwork
func (*Config) GetEthereumNetwork ¶
func (network *Config) GetEthereumNetwork() EthereumNetwork
func (*Config) SetBitcoinNetwork ¶
func (network *Config) SetBitcoinNetwork(bitcoinNetwork BitcoinNetwork)
func (*Config) SetEthereumNetwork ¶
func (config *Config) SetEthereumNetwork(ethereumConfig EthereumNetwork)
type EthereumNetwork ¶
type EthereumNetwork struct { Network string `json:"network"` URL string `json:"url"` RenExAtomicSwapper string `json:"renExAtomicSwapper"` RenExAtomicInfo string `json:"renExAtomicInfo"` RenExSettlement string `json:"renExSettlement"` Orderbook string `json:"orderbook"` }
EthereumNetwork are the parameters required to create an ethereum client
Click to show internal directories.
Click to hide internal directories.