summaryrefslogtreecommitdiffstats
path: root/einterfaces/compliance.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2016-03-11 16:53:32 -0800
committer=Corey Hulen <corey@hulen.com>2016-03-11 16:53:32 -0800
commit6fa6ea0af532f2b5fb57a1f22431103b1c9e6e27 (patch)
tree56d7fbfb65efbf9ecd55a9a66107a0ea8aa41ff9 /einterfaces/compliance.go
parent6d21a339dc3aedd373faacd5163462c76263ab07 (diff)
downloadchat-6fa6ea0af532f2b5fb57a1f22431103b1c9e6e27.tar.gz
chat-6fa6ea0af532f2b5fb57a1f22431103b1c9e6e27.tar.bz2
chat-6fa6ea0af532f2b5fb57a1f22431103b1c9e6e27.zip
PLT-2115 adding compliance interfaces
Diffstat (limited to 'einterfaces/compliance.go')
-rw-r--r--einterfaces/compliance.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/einterfaces/compliance.go b/einterfaces/compliance.go
new file mode 100644
index 000000000..136f9a4d3
--- /dev/null
+++ b/einterfaces/compliance.go
@@ -0,0 +1,20 @@
+// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+package einterfaces
+
+import ()
+
+type ComplianceInterface interface {
+ StartComplianceJob()
+}
+
+var theComplianceInterface ComplianceInterface
+
+func RegisterComplianceInterface(newInterface ComplianceInterface) {
+ theComplianceInterface = newInterface
+}
+
+func GetComplianceInterface() ComplianceInterface {
+ return theComplianceInterface
+}