summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-03-07 09:37:00 -0500
committerGitHub <noreply@github.com>2017-03-07 09:37:00 -0500
commit33b8b72a026c54f121f1d0f0370d9ad2e6220a61 (patch)
tree005fe432e44b208a980f2b28a647e2ea48b6ed44 /store/store.go
parent115acb1fb1cef5dfe222af7f5ae02b5d1a9d9d4f (diff)
downloadchat-33b8b72a026c54f121f1d0f0370d9ad2e6220a61.tar.gz
chat-33b8b72a026c54f121f1d0f0370d9ad2e6220a61.tar.bz2
chat-33b8b72a026c54f121f1d0f0370d9ad2e6220a61.zip
Adding index and cache to reactinos store (#5654)
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/store/store.go b/store/store.go
index a436f9ee7..7aa903f6f 100644
--- a/store/store.go
+++ b/store/store.go
@@ -348,6 +348,8 @@ type FileInfoStore interface {
type ReactionStore interface {
Save(reaction *model.Reaction) StoreChannel
Delete(reaction *model.Reaction) StoreChannel
- GetForPost(postId string) StoreChannel
+ InvalidateCacheForPost(postId string)
+ InvalidateCache()
+ GetForPost(postId string, allowFromCache bool) StoreChannel
DeleteAllWithEmojiName(emojiName string) StoreChannel
}