configtest

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2021 License: MIT Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL