Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAO ¶
type DAO interface { CreateEvent(ctx context.Context, event ...*models.Event) ([]*models.Event, error) List(ctx context.Context, query *q.Query) ([]*models.Event, error) CreateOrUpdateCursor(ctx context.Context, eventIndex *models.EventCursor) (*models.EventCursor, error) GetCursor(ctx context.Context) (*models.EventCursor, error) GetEvent(ctx context.Context, id uint) (*models.Event, error) DeleteEvents(ctx context.Context, id ...uint) (int64, error) }
Click to show internal directories.
Click to hide internal directories.