Documentation ¶
Index ¶
- func DeleteByEventId(ctx context.Context, conn repository.Querier, eventId int) (int, error)
- func LoadByEventId(ctx context.Context, conn repository.Querier, eventId int) (*analysisv1.Analysis, error)
- func LoadByEventKey(ctx context.Context, conn repository.Querier, eventKey string) (*analysisv1.Analysis, error)
- func Upsert(ctx context.Context, conn repository.Querier, eventId int, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteByEventId ¶
deletes an entry from the database, returns number of rows deleted.
func LoadByEventId ¶
func LoadByEventId( ctx context.Context, conn repository.Querier, eventId int, ) (*analysisv1.Analysis, error)
func LoadByEventKey ¶
func LoadByEventKey( ctx context.Context, conn repository.Querier, eventKey string, ) (*analysisv1.Analysis, error)
func Upsert ¶
func Upsert( ctx context.Context, conn repository.Querier, eventId int, analysis *analysisv1.Analysis, ) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.