package
3.0.1-alpha.4
Repository: https://github.com/onsdigital/dp-elasticsearch.git
Documentation: pkg.go.dev

# Functions

NewClient returns a new initialised elasticsearch client with the default dp-net/http client.
No description provided by the author

# Constants

Possible values for the HealthStatus.
Possible values for the HealthStatus.
Possible values for the HealthStatus.
MsgHealthy Check message returned when elasticsearch is healthy and the required indexes exist.
ServiceName elasticsearch.

# Variables

List of errors.
List of errors.
List of errors.
List of errors.
List of errors.
List of errors.
List of errors.

# Structs

Client is an ElasticSearch client containing an HTTP client to contact the elasticsearch API.
ClusterHealth represents the response from the elasticsearch cluster health check.

# Type aliases

HealthStatus - iota enum of possible health states returned by Elasticsearch API.