18 lines
377 B
Go
18 lines
377 B
Go
|
// 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
|
||
|
}
|