Documentation ¶
Index ¶
- func DebugHandler(format string, args ...any)
- func ErrorsHandler(err error)
- type AddWalletHandler
- type DefaultHandler
- type EnterWalletHandler
- type FAQHandler
- type PoolStatsHandler
- type RemoveWalletHandler
- func (h *RemoveWalletHandler) Back(ctx context.Context, user *middlewares.User, ...)
- func (h *RemoveWalletHandler) BackToBlockchainSelect(ctx context.Context, user *middlewares.User, b *bot.Bot, update *models.Update)
- func (h *RemoveWalletHandler) OnBlockchainSelected(ctx context.Context, user *middlewares.User, ...)
- func (h *RemoveWalletHandler) Remove(ctx context.Context, user *middlewares.User, ...)
- type ReportBugHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugHandler ¶
func ErrorsHandler ¶
func ErrorsHandler(err error)
Types ¶
type AddWalletHandler ¶
type AddWalletHandler struct {
// contains filtered or unexported fields
}
func NewAddWalletHandler ¶
func NewAddWalletHandler( userActionService *services.UserActionService, userWalletService *services.UserWalletService, blockchainsService *blockchains.Service, checkWorkersInterval int, ) *AddWalletHandler
func (*AddWalletHandler) Handler ¶
func (h *AddWalletHandler) Handler(ctx context.Context, user *middlewares.User, startKeyboard *botKeyboards.StartKeyboard, b *bot.Bot, update *models.Update)
type DefaultHandler ¶
type DefaultHandler struct {
// contains filtered or unexported fields
}
func NewDefaultHandler ¶
func NewDefaultHandler(languages *languages.Languages) *DefaultHandler
func (*DefaultHandler) Handler ¶
func (h *DefaultHandler) Handler(ctx context.Context, user *middlewares.User, startKeyboard *botKeyboards.StartKeyboard, b *bot.Bot, update *models.Update)
type EnterWalletHandler ¶
type EnterWalletHandler struct {
// contains filtered or unexported fields
}
func NewEnterWalletHandler ¶
func NewEnterWalletHandler(userActionService *services.UserActionService) *EnterWalletHandler
func (*EnterWalletHandler) Back ¶
func (h *EnterWalletHandler) Back( ctx context.Context, user *middlewares.User, startKeyboard *botKeyboards.StartKeyboard, b *bot.Bot, update *models.Update, )
func (*EnterWalletHandler) BackToBlockchainSelect ¶
func (h *EnterWalletHandler) BackToBlockchainSelect( ctx context.Context, user *middlewares.User, addWalletKeyboard *botKeyboards.BlockchainsKeyboard, b *bot.Bot, update *models.Update, )
func (*EnterWalletHandler) Handler ¶
func (h *EnterWalletHandler) Handler( ctx context.Context, user *middlewares.User, blockchain blockchains.BlockchainInfo, b *bot.Bot, update *models.Update, )
type FAQHandler ¶
type FAQHandler struct {
// contains filtered or unexported fields
}
func NewFAQHandler ¶
func NewFAQHandler(poolURL string, checkWorkersInterval int, supportBotUsername string) *FAQHandler
type PoolStatsHandler ¶
type PoolStatsHandler struct {
// contains filtered or unexported fields
}
func NewPoolStatsHandler ¶
func NewPoolStatsHandler(blockchainsService *blockchains.Service) *PoolStatsHandler
func (*PoolStatsHandler) Back ¶
func (h *PoolStatsHandler) Back( ctx context.Context, user *middlewares.User, startKeyboard *botKeyboards.StartKeyboard, b *bot.Bot, update *models.Update, )
func (*PoolStatsHandler) OnBlockchainSelected ¶
func (h *PoolStatsHandler) OnBlockchainSelected( ctx context.Context, user *middlewares.User, startKeyboard *botKeyboards.StartKeyboard, blockchain blockchains.BlockchainInfo, b *bot.Bot, update *models.Update, )
type RemoveWalletHandler ¶
type RemoveWalletHandler struct {
// contains filtered or unexported fields
}
func NewRemoveWalletHandler ¶
func NewRemoveWalletHandler(userWalletService *services.UserWalletService, userActionService *services.UserActionService) *RemoveWalletHandler
func (*RemoveWalletHandler) Back ¶
func (h *RemoveWalletHandler) Back(ctx context.Context, user *middlewares.User, startKeyboard *botKeyboards.StartKeyboard, b *bot.Bot, update *models.Update)
func (*RemoveWalletHandler) BackToBlockchainSelect ¶
func (h *RemoveWalletHandler) BackToBlockchainSelect(ctx context.Context, user *middlewares.User, b *bot.Bot, update *models.Update)
func (*RemoveWalletHandler) OnBlockchainSelected ¶
func (h *RemoveWalletHandler) OnBlockchainSelected( ctx context.Context, user *middlewares.User, blockchain blockchains.BlockchainInfo, b *bot.Bot, update *models.Update, )
func (*RemoveWalletHandler) Remove ¶
func (h *RemoveWalletHandler) Remove( ctx context.Context, user *middlewares.User, startKeyboard *botKeyboards.StartKeyboard, wallet services.UserWalletInfo, b *bot.Bot, update *models.Update, )
type ReportBugHandler ¶
type ReportBugHandler struct {
// contains filtered or unexported fields
}
func NewReportBugHandler ¶
func NewReportBugHandler( feedbackService *services.FeedbackService, userActionService *services.UserActionService, supportBotUsername string, ) *ReportBugHandler
func (*ReportBugHandler) Back ¶
func (h *ReportBugHandler) Back(ctx context.Context, user *middlewares.User, startKeyboard *botKeyboards.StartKeyboard, b *bot.Bot, update *models.Update)
func (*ReportBugHandler) Enter ¶
func (h *ReportBugHandler) Enter(ctx context.Context, user *middlewares.User, b *bot.Bot, update *models.Update)
func (*ReportBugHandler) SendFeedback ¶
func (h *ReportBugHandler) SendFeedback(ctx context.Context, user *middlewares.User, startKeyboard *botKeyboards.StartKeyboard, b *bot.Bot, update *models.Update)
Click to show internal directories.
Click to hide internal directories.