github.com/mattermost/mattermost-server/v6@v6.7.2/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/v6/model"
    10  )
    11  
    12  type MessageExportInterface interface {
    13  	StartSynchronizeJob(ctx context.Context, exportFromTimestamp int64) (*model.Job, *model.AppError)
    14  	RunExport(format string, since int64) (int64, *model.AppError)
    15  }