diff options
author | =Corey Hulen <corey@hulen.com> | 2016-01-20 10:34:31 -0600 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-01-20 10:34:31 -0600 |
commit | aac8d121a00922f007b9c67d890ea9dbcfbe4b8f (patch) | |
tree | 6bb1b242653aef8706254cbf144637e065cd49a4 /store/store.go | |
parent | 3ac5ecf0e98823cab22c77d3a56393cbe6bbc19a (diff) | |
download | chat-aac8d121a00922f007b9c67d890ea9dbcfbe4b8f.tar.gz chat-aac8d121a00922f007b9c67d890ea9dbcfbe4b8f.tar.bz2 chat-aac8d121a00922f007b9c67d890ea9dbcfbe4b8f.zip |
PLT-7 adding loc db calls for posts table
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/store/store.go b/store/store.go index c6e3d1273..bd840a87d 100644 --- a/store/store.go +++ b/store/store.go @@ -88,21 +88,21 @@ type ChannelStore interface { } type PostStore interface { - Save(post *model.Post) StoreChannel - Update(post *model.Post, newMessage string, newHashtags string) StoreChannel - Get(id string) StoreChannel - Delete(postId string, time int64) StoreChannel - PermanentDeleteByUser(userId string) StoreChannel - GetPosts(channelId string, offset int, limit int) StoreChannel - GetPostsBefore(channelId string, postId string, numPosts int, offset int) StoreChannel - GetPostsAfter(channelId string, postId string, numPosts int, offset int) StoreChannel - GetPostsSince(channelId string, time int64) StoreChannel - GetEtag(channelId string) StoreChannel - Search(teamId string, userId string, params *model.SearchParams) StoreChannel - GetForExport(channelId string) StoreChannel - AnalyticsUserCountsWithPostsByDay(teamId string) StoreChannel - AnalyticsPostCountsByDay(teamId string) StoreChannel - AnalyticsPostCount(teamId string) StoreChannel + Save(T goi18n.TranslateFunc, post *model.Post) StoreChannel + Update(T goi18n.TranslateFunc, post *model.Post, newMessage string, newHashtags string) StoreChannel + Get(T goi18n.TranslateFunc, id string) StoreChannel + Delete(T goi18n.TranslateFunc, postId string, time int64) StoreChannel + PermanentDeleteByUser(T goi18n.TranslateFunc, userId string) StoreChannel + GetPosts(T goi18n.TranslateFunc, channelId string, offset int, limit int) StoreChannel + GetPostsBefore(T goi18n.TranslateFunc, channelId string, postId string, numPosts int, offset int) StoreChannel + GetPostsAfter(T goi18n.TranslateFunc, channelId string, postId string, numPosts int, offset int) StoreChannel + GetPostsSince(T goi18n.TranslateFunc, channelId string, time int64) StoreChannel + GetEtag(T goi18n.TranslateFunc, channelId string) StoreChannel + Search(T goi18n.TranslateFunc, teamId string, userId string, params *model.SearchParams) StoreChannel + GetForExport(T goi18n.TranslateFunc, channelId string) StoreChannel + AnalyticsUserCountsWithPostsByDay(T goi18n.TranslateFunc, teamId string) StoreChannel + AnalyticsPostCountsByDay(T goi18n.TranslateFunc, teamId string) StoreChannel + AnalyticsPostCount(T goi18n.TranslateFunc, teamId string) StoreChannel } type UserStore interface { |