From 188182a3a4499965dbbde254aed0ae5e60e71dc5 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Tue, 3 Nov 2015 11:34:52 -0500 Subject: Adding ability to fetch posts around a specifc post --- store/store.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'store/store.go') 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 -- cgit v1.2.3-1-g7c22