Documentation ¶
Index ¶
- func Create(ctx context.Context, conn repository.Querier, event *model.DbEvent) (*model.DbEvent, error)
- func CreateExtra(ctx context.Context, conn repository.Querier, event *model.DbEventExtra) error
- func DeleteById(ctx context.Context, conn repository.Querier, id int) (int, error)
- func DeleteExtraById(ctx context.Context, conn repository.Querier, id int) (int, error)
- func LoadAll(ctx context.Context, conn repository.Querier) (ret []*model.DbEvent, err error)
- func LoadById(ctx context.Context, conn repository.Querier, id int) (*model.DbEvent, error)
- func LoadByKey(ctx context.Context, conn repository.Querier, eventKey string) (*model.DbEvent, error)
- func UpdateReplayInfo(ctx context.Context, conn repository.Querier, eventKey string, ...) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateExtra ¶
func CreateExtra( ctx context.Context, conn repository.Querier, event *model.DbEventExtra, ) error
func DeleteById ¶
deletes an entry from the database, returns number of rows deleted.
func DeleteExtraById ¶ added in v0.8.0
deletes the extra event data, returns number of rows deleted.
func UpdateReplayInfo ¶ added in v0.9.0
func UpdateReplayInfo( ctx context.Context, conn repository.Querier, eventKey string, replayInfo model.ReplayInfo) ( int, error, )
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.