summaryrefslogtreecommitdiffstats
path: root/einterfaces/data_retention.go
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-10-02 12:43:21 +0100
committerGitHub <noreply@github.com>2017-10-02 12:43:21 +0100
commit76bd1bb212177824379c485c553e54530a854009 (patch)
treef4b3c41ff3ff72c96ab58e944e4254bfca4fd8be /einterfaces/data_retention.go
parent9bc7af0c5704bbf73f8240b4569d5ea215352e39 (diff)
downloadchat-76bd1bb212177824379c485c553e54530a854009.tar.gz
chat-76bd1bb212177824379c485c553e54530a854009.tar.bz2
chat-76bd1bb212177824379c485c553e54530a854009.zip
PLT-7705: API to get data retention policy. (#7539)
* PLT-7705: API to get data retention policy. * Fix review comments.
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)
+}