summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2016-01-20 08:44:05 -0600
committer=Corey Hulen <corey@hulen.com>2016-01-20 08:44:05 -0600
commitef11df753227f3082d5c2226c0e7525e14ed47c7 (patch)
tree281d2aff44f17084d6133593e7c0bf12dc3615ec /store/store.go
parent5b2ec623473abeb44577fbfc9122b792a94a5184 (diff)
downloadchat-ef11df753227f3082d5c2226c0e7525e14ed47c7.tar.gz
chat-ef11df753227f3082d5c2226c0e7525e14ed47c7.tar.bz2
chat-ef11df753227f3082d5c2226c0e7525e14ed47c7.zip
PLT-7 adding loc db calls for webhooks table
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go28
1 files changed, 14 insertions, 14 deletions
diff --git a/store/store.go b/store/store.go
index 58a9e0478..5b711fdc7 100644
--- a/store/store.go
+++ b/store/store.go
@@ -168,20 +168,20 @@ type SystemStore interface {
}
type WebhookStore interface {
- SaveIncoming(webhook *model.IncomingWebhook) StoreChannel
- GetIncoming(id string) StoreChannel
- GetIncomingByUser(userId string) StoreChannel
- GetIncomingByChannel(channelId string) StoreChannel
- DeleteIncoming(webhookId string, time int64) StoreChannel
- PermanentDeleteIncomingByUser(userId string) StoreChannel
- SaveOutgoing(webhook *model.OutgoingWebhook) StoreChannel
- GetOutgoing(id string) StoreChannel
- GetOutgoingByCreator(userId string) StoreChannel
- GetOutgoingByChannel(channelId string) StoreChannel
- GetOutgoingByTeam(teamId string) StoreChannel
- DeleteOutgoing(webhookId string, time int64) StoreChannel
- PermanentDeleteOutgoingByUser(userId string) StoreChannel
- UpdateOutgoing(hook *model.OutgoingWebhook) StoreChannel
+ SaveIncoming(T goi18n.TranslateFunc, webhook *model.IncomingWebhook) StoreChannel
+ GetIncoming(T goi18n.TranslateFunc, id string) StoreChannel
+ GetIncomingByUser(T goi18n.TranslateFunc, userId string) StoreChannel
+ GetIncomingByChannel(T goi18n.TranslateFunc, channelId string) StoreChannel
+ DeleteIncoming(T goi18n.TranslateFunc, webhookId string, time int64) StoreChannel
+ PermanentDeleteIncomingByUser(T goi18n.TranslateFunc, userId string) StoreChannel
+ SaveOutgoing(T goi18n.TranslateFunc, webhook *model.OutgoingWebhook) StoreChannel
+ GetOutgoing(T goi18n.TranslateFunc, id string) StoreChannel
+ GetOutgoingByCreator(T goi18n.TranslateFunc, userId string) StoreChannel
+ GetOutgoingByChannel(T goi18n.TranslateFunc, channelId string) StoreChannel
+ GetOutgoingByTeam(T goi18n.TranslateFunc, teamId string) StoreChannel
+ DeleteOutgoing(T goi18n.TranslateFunc, webhookId string, time int64) StoreChannel
+ PermanentDeleteOutgoingByUser(T goi18n.TranslateFunc, userId string) StoreChannel
+ UpdateOutgoing(T goi18n.TranslateFunc, hook *model.OutgoingWebhook) StoreChannel
}
type PreferenceStore interface {