summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-11-04 07:51:19 -0500
committerJoram Wilander <jwawilander@gmail.com>2015-11-04 07:51:19 -0500
commit0cc985f6f4c439eb9a951d007628849d15a16087 (patch)
treedc9ef286cdfaa4a86a9ccab1d6a4ef3d3c0134ca /store/store.go
parent87c4b4fbf44662b1ff70e245126921f24d0829a4 (diff)
parent188182a3a4499965dbbde254aed0ae5e60e71dc5 (diff)
downloadchat-0cc985f6f4c439eb9a951d007628849d15a16087.tar.gz
chat-0cc985f6f4c439eb9a951d007628849d15a16087.tar.bz2
chat-0cc985f6f4c439eb9a951d007628849d15a16087.zip
Merge pull request #1285 from mattermost/plt-824
PLT-824 Adding ability to fetch posts around a specifc post
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go
index 53a6e053b..ce4d90883 100644
--- a/store/store.go
+++ b/store/store.go
@@ -86,6 +86,8 @@ type PostStore interface {
Get(id string) StoreChannel
Delete(postId string, time int64) 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