summaryrefslogtreecommitdiffstats
path: root/einterfaces/compliance.go
blob: 136f9a4d3a53d10ac25f2250a2c3b43ea957c010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
}