summaryrefslogtreecommitdiffstats
path: root/model/config.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-10-26 14:21:22 -0500
committerJoram Wilander <jwawilander@gmail.com>2017-10-26 15:21:22 -0400
commit7ed011745a544873f40f806f1803cb8a4998ba01 (patch)
treefe13919b050b33c8dd3f6ca5fce6ad1980b2dd3e /model/config.go
parenta0bfd2885d03e3f9fb6b3cdd6ba60eea93c848b2 (diff)
downloadchat-7ed011745a544873f40f806f1803cb8a4998ba01.tar.gz
chat-7ed011745a544873f40f806f1803cb8a4998ba01.tar.bz2
chat-7ed011745a544873f40f806f1803cb8a4998ba01.zip
Remove more global refs / state (#7723)
* remove more global refs / state * fix job enterprise initialization * fix api4 test compilation * saml api endpoints fix
Diffstat (limited to 'model/config.go')
-rw-r--r--model/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/model/config.go b/model/config.go
index 9871a13b4..768009d94 100644
--- a/model/config.go
+++ b/model/config.go
@@ -522,6 +522,8 @@ type PluginSettings struct {
PluginStates map[string]*PluginState
}
+type ConfigFunc func() *Config
+
type Config struct {
ServiceSettings ServiceSettings
TeamSettings TeamSettings