package
5.6.1
Repository: https://github.com/elastic/go-elasticsearch.git
Documentation: pkg.go.dev

# Functions

New creates new HTTP client.
NewRoundRobinSelector creates a new RoundRobinSelector.

# Constants

Version returns the package version as a string.

# Structs

Client represents the HTTP client.
ColorLogger prints the log message in a terminal-optimized plain text.
Config represents the configuration of HTTP client.
CurlLogger prints the log message as a runnable curl command.
JSONLogger prints the log message as JSON.
RoundRobinSelector implements a round-robin selection strategy.
TextLogger prints the log message in plain text.

# Interfaces

Interface defines the interface for HTTP client.
Logger defines an interface for logging request and response.
Selector defines the interface for selecting URLs for performing request.