Documentation ¶ Index ¶ type Handler func (handler *Handler) AddSubscription(ctx context.Context, chatId int64) error func (handler *Handler) DeleteSubscription(ctx context.Context, chatId int64) error func (handler *Handler) GetSubscriptions(ctx context.Context) ([]int64, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Handler ¶ type Handler struct { DB *sqlx.DB } func (*Handler) AddSubscription ¶ func (handler *Handler) AddSubscription(ctx context.Context, chatId int64) error func (*Handler) DeleteSubscription ¶ func (handler *Handler) DeleteSubscription(ctx context.Context, chatId int64) error func (*Handler) GetSubscriptions ¶ func (handler *Handler) GetSubscriptions(ctx context.Context) ([]int64, error) Source Files ¶ View all Source files subscription.go Click to show internal directories. Click to hide internal directories.