diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-12-09 11:22:13 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-12-09 11:22:13 -0500 |
commit | 84aa572f67cc41d59690a73f080d0f6c81be4ae0 (patch) | |
tree | bfca3a5c6823ba2159783070b3a443e98c9f0f7c /store/store.go | |
parent | 2ca37ec2fc57dbd1a3a5a0a7abc93e7f73c70d04 (diff) | |
parent | 8e8b001609a22a0ac82c004e4499207c4b1a41f8 (diff) | |
download | chat-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.go | 1 |
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 |