summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-18 09:25:47 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-18 09:25:47 -0700
commitcdf813f07b207c14bb9fa03f38d734b45e40823e (patch)
tree109c6cefb3580b9ed9b314ce40bd130728d587ff /store/store.go
parent1aa4913c44ba9a342d240e5e1ca9d5e89929e499 (diff)
parent5a436fd447753124b3f7705ecb123ecf5762bc24 (diff)
downloadchat-cdf813f07b207c14bb9fa03f38d734b45e40823e.tar.gz
chat-cdf813f07b207c14bb9fa03f38d734b45e40823e.tar.bz2
chat-cdf813f07b207c14bb9fa03f38d734b45e40823e.zip
merging
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 0218bc757..1344c4ebe 100644
--- a/store/store.go
+++ b/store/store.go
@@ -35,6 +35,7 @@ type Store interface {
Audit() AuditStore
Session() SessionStore
OAuth() OAuthStore
+ System() SystemStore
Close()
}
@@ -130,3 +131,9 @@ type OAuthStore interface {
GetAccessDataByAuthCode(authCode string) StoreChannel
RemoveAccessData(token string) StoreChannel
}
+
+type SystemStore interface {
+ Save(system *model.System) StoreChannel
+ Update(system *model.System) StoreChannel
+ Get() StoreChannel
+}