summaryrefslogtreecommitdiffstats
path: root/einterfaces/data_retention.go
diff options
context:
space:
mode:
Diffstat (limited to 'einterfaces/data_retention.go')
-rw-r--r--einterfaces/data_retention.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/einterfaces/data_retention.go b/einterfaces/data_retention.go
new file mode 100644
index 000000000..07f7d387d
--- /dev/null
+++ b/einterfaces/data_retention.go
@@ -0,0 +1,12 @@
+// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+package einterfaces
+
+import (
+ "github.com/mattermost/mattermost-server/model"
+)
+
+type DataRetentionInterface interface {
+ GetPolicy() (*model.DataRetentionPolicy, *model.AppError)
+}