Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingNodes = errors.New("elasticsearch: missing node(s) url(s)")
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
// Nodes contains urls of the instances.
Nodes []string
Username string
Password string
// PingDeadline represents the limit
// to receive a ping response.
PingDeadline time.Duration
}
Options contains the basic elements to establish a connection with an Elasticsearch cluster.
type TypedPool ¶
type TypedPool struct {
*elasticsearch.TypedClient
}
TypedPool wraps the TypedClient
Click to show internal directories.
Click to hide internal directories.