package
Version:
v0.0.0-...-c42b9c9
Opens a new window with list of versions in this module.
Published: Aug 2, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
DEFAULT_HEALTH_CHECK_INTERVAL = 10
DEFAULT_MAX_RETRIES = 5
)
type EsClient struct {
*elastic.Client
}
EsClient elastic client
type EsFactory struct {
HealthCheckInterval int
MaxRetries int
GZip bool
Sniff bool
}
EsFactory elastic factory
CreateEsCli create elastic client
Source Files
¶
Click to show internal directories.
Click to hide internal directories.