Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BinanceFutures TestConfig `toml:"binancefutures"` Bitmex TestConfig `toml:"bitmex"` Bybit TestConfig `toml:"bybit"` Deribit TestConfig `toml:"deribit"` Hbdm TestConfig `toml:"hbdm"` HbdmSwap TestConfig `toml:"hbdmswap"` OkexFutures TestConfig `toml:"okexfutures"` OkexSwap TestConfig `toml:"okexswap"` }
type TestConfig ¶
type TestConfig struct { AccessKey string `toml:"access_key"` SecretKey string `toml:"secret_key"` Passphrase string `toml:"passphrase"` Testnet bool `toml:"testnet"` ProxyURL string `toml:"proxy_url"` }
func LoadTestConfig ¶
func LoadTestConfig(name string) *TestConfig
Click to show internal directories.
Click to hide internal directories.