Documentation ¶
Overview ¶
Package repo - работа с событиями в БД
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventRepo ¶
type EventRepo interface { // Lock заблокировать в БД n записей Lock(ctx context.Context, n uint64) ([]model.PackageEvent, error) // Unlock разблокировать в БД n записей Unlock(ctx context.Context, eventID []uint64) error // Remove удалить из БД n записей Remove(ctx context.Context, eventIDs []uint64) error }
EventRepo - интерфейс работы с БД событий.
Click to show internal directories.
Click to hide internal directories.