summaryrefslogtreecommitdiffstats
path: root/einterfaces/compliance.go
blob: 522a949dbcfa9489aa1e51b2eff6db8d7bb91f97 (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 {
	StartComplianceDailyJob()
}

var theComplianceInterface ComplianceInterface

func RegisterComplianceInterface(newInterface ComplianceInterface) {
	theComplianceInterface = newInterface
}

func GetComplianceInterface() ComplianceInterface {
	return theComplianceInterface
}