diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-10-01 14:07:20 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-10-19 09:00:30 -0400 |
commit | af6e2c29eb0a8610fe218e8ec85e739433eac729 (patch) | |
tree | 59836ace0d50cc62b99f007916212454bd5c9e99 /store/store.go | |
parent | e308923aeca0a45463aeeeea7b0b3e3bc313f033 (diff) | |
download | chat-af6e2c29eb0a8610fe218e8ec85e739433eac729.tar.gz chat-af6e2c29eb0a8610fe218e8ec85e739433eac729.tar.bz2 chat-af6e2c29eb0a8610fe218e8ec85e739433eac729.zip |
Implement outgoing webhooks.
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 7 |
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 { |