MCPcopy
hub / github.com/elastic/go-elasticsearch / BaseClient

Struct BaseClient

elasticsearch.go:166–177  ·  view source on GitHub ↗

BaseClient represents the Elasticsearch client.

Source from the content-addressed store, hash-verified

164
165// BaseClient represents the Elasticsearch client.
166type BaseClient struct {
167 Transport elastictransport.Interface
168 metaHeader string
169 compatibilityHeader bool
170
171 autoDrainBody bool
172 disableMetaHeader bool
173 productCheckMu sync.RWMutex
174 productCheckSuccess bool
175
176 closeDone uint32
177}
178
179// Client represents the Functional Options API.
180type Client struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected