Documentation ¶
Index ¶
- func PrepareConfContentForMessage(conf configfile.ConfigFile) string
- type ChartPoint
- type Handlers
- func (p *Handlers) BackToMainMenu(c telebot.Context) error
- func (p *Handlers) BestJump(c telebot.Context) error
- func (p *Handlers) ChartMenu(c telebot.Context) error
- func (p *Handlers) CreatePaginatedHandlers(messagePaginated map[interface{}]string, defaultValue interface{}, ...) []telebot.Btn
- func (p *Handlers) EditCoins(c telebot.Context) error
- func (p *Handlers) EditJump(c telebot.Context) error
- func (p *Handlers) ExportDB(c telebot.Context) error
- func (p *Handlers) GenerateChart(c telebot.Context) error
- func (p *Handlers) Help(c telebot.Context) error
- func (p *Handlers) InitHandlers(ctx context.Context)
- func (p *Handlers) InitMenu(ctx context.Context)
- func (p *Handlers) LastTenJumps(c telebot.Context) error
- func (p *Handlers) ListCoins(c telebot.Context) error
- func (p *Handlers) NewChart(c telebot.Context) error
- func (p *Handlers) NextJump(c telebot.Context) error
- func (p *Handlers) Notification(c telebot.Context) error
- func (p *Handlers) NotificationDebug(ctx context.Context)
- func (p *Handlers) NotificationError(ctx context.Context)
- func (p *Handlers) NotificationInfo(ctx context.Context)
- func (p *Handlers) NotificationWarn(ctx context.Context)
- func (p *Handlers) ReloadConfigFile(c telebot.Context) error
- func (p *Handlers) ShowBalances(c telebot.Context, alt string) error
- func (p *Handlers) ShowBalancesChart(c telebot.Context) error
- func (p *Handlers) ShowBalancesWithArg(c telebot.Context) error
- func (p *Handlers) ShowBtcBalances(c telebot.Context) error
- func (p *Handlers) ShowConfigFile(c telebot.Context) error
- func (p *Handlers) ShowLiveConfig(c telebot.Context) error
- func (p *Handlers) ShowUsdtBalances(c telebot.Context) error
- func (p *Handlers) ValidateCoinEdit(c telebot.Context) error
- func (p *Handlers) ValidateJumpEdit(c telebot.Context) error
- func (p *Handlers) ValidateNewChart(c telebot.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareConfContentForMessage ¶
func PrepareConfContentForMessage(conf configfile.ConfigFile) string
Types ¶
type Handlers ¶
type Handlers struct { Logger *log.Logger Conf *configfile.ConfigFile TelegramClient *telegram.Client BinanceClient *binance.Client Repository *repository.Repository GlobalConf globalconf.GlobalConfModifier }
func NewHandlers ¶
func NewHandlers(l *log.Logger, conf *configfile.ConfigFile, c *telegram.Client, b *binance.Client, r *repository.Repository, gc globalconf.GlobalConfModifier) *Handlers
func (*Handlers) BackToMainMenu ¶
func (*Handlers) CreatePaginatedHandlers ¶
func (*Handlers) GenerateChart ¶
func (*Handlers) InitHandlers ¶
func (*Handlers) LastTenJumps ¶
func (*Handlers) Notification ¶
func (*Handlers) NotificationDebug ¶
func (*Handlers) NotificationError ¶
func (*Handlers) NotificationInfo ¶
func (*Handlers) NotificationWarn ¶
func (*Handlers) ReloadConfigFile ¶
func (*Handlers) ShowBalances ¶
func (*Handlers) ShowBalancesChart ¶
func (*Handlers) ShowBalancesWithArg ¶
func (*Handlers) ShowBtcBalances ¶
func (*Handlers) ShowConfigFile ¶
func (*Handlers) ShowLiveConfig ¶
func (*Handlers) ShowUsdtBalances ¶
func (*Handlers) ValidateCoinEdit ¶
func (*Handlers) ValidateJumpEdit ¶
func (*Handlers) ValidateNewChart ¶
Click to show internal directories.
Click to hide internal directories.