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

Method isClosed

elasticsearch.go:657–659  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

655}
656
657func (c *BaseClient) isClosed() bool {
658 return atomic.LoadUint32(&c.closeDone) != 0
659}
660
661// Close closes the client. If the underlying Transport is elastictransport.Closeable, it is closed as well.
662// Close should only be called once. Later calls to Close will return ErrAlreadyClosed.

Callers 2

PerformMethod · 0.95
DiscoverNodesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected