summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mattermost/mattermost-server/einterfaces/data_retention.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mattermost/mattermost-server/einterfaces/data_retention.go')
-rw-r--r--vendor/github.com/mattermost/mattermost-server/einterfaces/data_retention.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/mattermost/mattermost-server/einterfaces/data_retention.go b/vendor/github.com/mattermost/mattermost-server/einterfaces/data_retention.go
new file mode 100644
index 00000000..07f7d387
--- /dev/null
+++ b/vendor/github.com/mattermost/mattermost-server/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)
+}