summaryrefslogtreecommitdiffstats
path: root/einterfaces/message_export.go
blob: 8fde650708b5d586726a4052adb87a4cf3534607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.

package einterfaces

import (
	"context"

	"github.com/mattermost/mattermost-server/model"
)

type MessageExportInterface interface {
	StartSynchronizeJob(ctx context.Context, exportFromTimestamp int64) (*model.Job, *model.AppError)
	RunExport(format string, since int64) *model.AppError
}