summaryrefslogblamecommitdiffstats
path: root/vendor/github.com/mattermost/mattermost-server/einterfaces/jobs/elasticsearch.go
blob: 16e0d76976d6fd32957fe39988358db3d1efaf3b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17















                                                                   
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.

package jobs

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

type ElasticsearchIndexerInterface interface {
	MakeWorker() model.Worker
}

type ElasticsearchAggregatorInterface interface {
	MakeWorker() model.Worker
	MakeScheduler() model.Scheduler
}