summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-10-01 14:07:20 -0400
committerJoramWilander <jwawilander@gmail.com>2015-10-19 09:00:30 -0400
commitaf6e2c29eb0a8610fe218e8ec85e739433eac729 (patch)
tree59836ace0d50cc62b99f007916212454bd5c9e99 /store/store.go
parente308923aeca0a45463aeeeea7b0b3e3bc313f033 (diff)
downloadchat-af6e2c29eb0a8610fe218e8ec85e739433eac729.tar.gz
chat-af6e2c29eb0a8610fe218e8ec85e739433eac729.tar.bz2
chat-af6e2c29eb0a8610fe218e8ec85e739433eac729.zip
Implement outgoing webhooks.
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go
index de335cc2b..2a099975c 100644
--- a/store/store.go
+++ b/store/store.go
@@ -150,6 +150,13 @@ type WebhookStore interface {
GetIncoming(id string) StoreChannel
GetIncomingByUser(userId string) StoreChannel
DeleteIncoming(webhookId string, time int64) StoreChannel
+ SaveOutgoing(webhook *model.OutgoingWebhook) StoreChannel
+ GetOutgoing(id string) StoreChannel
+ GetOutgoingByCreator(userId string) StoreChannel
+ GetOutgoingByChannel(channelId string) StoreChannel
+ GetOutgoingByTriggerWord(teamId, channelId, triggerWord string) StoreChannel
+ DeleteOutgoing(webhookId string, time int64) StoreChannel
+ UpdateOutgoing(hook *model.OutgoingWebhook) StoreChannel
}
type PreferenceStore interface {