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

     1  // Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
     2  // See License.txt for license information.
     3  
     4  package jobs
     5  
     6  import (
     7  	"github.com/mattermost/mattermost-server/model"
     8  )
     9  
    10  type ElasticsearchIndexerInterface interface {
    11  	MakeWorker() model.Worker
    12  }
    13  
    14  type ElasticsearchAggregatorInterface interface {
    15  	MakeWorker() model.Worker
    16  	MakeScheduler() model.Scheduler
    17  }