Documentation ¶
Index ¶
- func GetDatabase(dsn string) *gorm.DB
- type App
- func (a *App) CancelTimerHandler(ctx context.Context, b *bot.Bot, update *models.Update)
- func (a *App) CreateTimerHandler(ctx context.Context, b *bot.Bot, update *models.Update)
- func (a *App) ScheduleNotification(ctx NotifyContext) uint
- func (a *App) SetOffsetHandler(ctx context.Context, b *bot.Bot, update *models.Update)
- func (a *App) Start()
- type NotifyContext
- type UserOffset
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDatabase ¶
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) CancelTimerHandler ¶
func (*App) CreateTimerHandler ¶
func (*App) ScheduleNotification ¶
func (a *App) ScheduleNotification(ctx NotifyContext) uint
func (*App) SetOffsetHandler ¶
type NotifyContext ¶
type UserOffset ¶
Click to show internal directories.
Click to hide internal directories.