database

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL