summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-12-09 11:22:13 -0500
committerChristopher Speller <crspeller@gmail.com>2015-12-09 11:22:13 -0500
commit84aa572f67cc41d59690a73f080d0f6c81be4ae0 (patch)
treebfca3a5c6823ba2159783070b3a443e98c9f0f7c /store/store.go
parent2ca37ec2fc57dbd1a3a5a0a7abc93e7f73c70d04 (diff)
parent8e8b001609a22a0ac82c004e4499207c4b1a41f8 (diff)
downloadchat-84aa572f67cc41d59690a73f080d0f6c81be4ae0.tar.gz
chat-84aa572f67cc41d59690a73f080d0f6c81be4ae0.tar.bz2
chat-84aa572f67cc41d59690a73f080d0f6c81be4ae0.zip
Merge pull request #1675 from mattermost/replica-fix
PLT-1413 Split db channel get into two functions using master and replica
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go
index 0695ea27f..682195148 100644
--- a/store/store.go
+++ b/store/store.go
@@ -60,6 +60,7 @@ type ChannelStore interface {
SaveDirectChannel(channel *model.Channel, member1 *model.ChannelMember, member2 *model.ChannelMember) StoreChannel
Update(channel *model.Channel) StoreChannel
Get(id string) StoreChannel
+ GetFromMaster(id string) StoreChannel
Delete(channelId string, time int64) StoreChannel
PermanentDeleteByTeam(teamId string) StoreChannel
GetByName(team_id string, domain string) StoreChannel