diff options
Diffstat (limited to 'internal/db/mention.go')
-rw-r--r-- | internal/db/mention.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/db/mention.go b/internal/db/mention.go index d66394a5d..348f946a2 100644 --- a/internal/db/mention.go +++ b/internal/db/mention.go @@ -30,4 +30,10 @@ type Mention interface { // GetMentions gets multiple mentions. GetMentions(ctx context.Context, ids []string) ([]*gtsmodel.Mention, Error) + + // PutMention will insert the given mention into the database. + PutMention(ctx context.Context, mention *gtsmodel.Mention) error + + // DeleteMentionByID will delete mention with given ID from the database. + DeleteMentionByID(ctx context.Context, id string) error } |