summaryrefslogtreecommitdiffstats
path: root/einterfaces/compliance.go
diff options
context:
space:
mode:
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
+}