service

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Auditor                    audit.AuditorService
	AuthAPIURL                 string
	BindAddr                   string
	DatasetAPIClient           api.DatasetAPIClient
	DefaultMaxResults          int
	Elasticsearch              api.Elasticsearcher
	ElasticsearchURL           string
	EnvMax                     int
	HealthCheck                *healthcheck.HealthCheck
	HealthCheckCriticalTimeout time.Duration
	MaxRetries                 int
	OutputQueue                searchoutputqueue.Output
	SearchAPIURL               string
	AuditProducer              *kafka.Producer
	HierarchyBuiltProducer     *kafka.Producer
	ServiceAuthToken           string
	Shutdown                   time.Duration
	SignElasticsearchRequests  bool
	HasPrivateEndpoints        bool
}

Service represents the necessary config for dp-search-api

func (*Service) Start added in v1.8.0

func (svc *Service) Start(ctx context.Context)

Start handles consumption of events

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL