package
Version:
v0.3.5
Opens a new window with list of versions in this module.
Published: Jan 4, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Binance struct {
APIKey string `env:"BINANCE_API_KEY,required"`
Secret string `env:"BINANCE_SECRET,required"`
Debug bool `env:"BINANCE_DEBUG" envDefault:"true"`
}
type Bot struct {
AdminID int `env:"ADMIN_TELEGRAM_ID,required"`
Token string `env:"BOT_TOKEN,required"`
PrettyPrint bool `env:"PRETTY_LOGS" envDefault:"false"`
IsTest bool `env:"TEST_MODE" envDefault:"false"`
}
type Chatex struct {
RefreshToken string `env:"CHATEX_REFRESH_TOKEN"`
URL string `env:"CHATEX_API" envDefault:"https://api.chatex.com/v1"`
}
type Redis struct {
Password string `env:"REDIS_PASSWORD"`
Addr string `env:"REDIS_ADDR"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.