Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoConf = errors.New("no orders found in config") ErrWrongType = errors.New("the type must is not limit or stop_limit") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Password string `toml:"wallet_password"` PancakeRouterHex string `toml:"pancakeswap_router_address"` EndpointURL string `toml:"endpoint_url"` ChainID int64 `toml:"chain_id"` WalletPath string `toml:"wallet_path"` DBPath string `toml:"database_path"` TelegramAPIKey string `toml:"telegram_api_key"` Users []string `toml:"telegram_users"` }
Click to show internal directories.
Click to hide internal directories.