github.com/ashishbhate/mattermost-server@v5.11.1+incompatible/einterfaces/message_export.go (about)

     1  // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
     2  // See License.txt for license information.
     3  
     4  package einterfaces
     5  
     6  import (
     7  	"context"
     8  
     9  	"github.com/mattermost/mattermost-server/model"
    10  )
    11  
    12  type MessageExportInterface interface {
    13  	StartSynchronizeJob(ctx context.Context, exportFromTimestamp int64) (*model.Job, *model.AppError)
    14  	RunExport(format string, since int64) *model.AppError
    15  }