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

Struct mockESTransport

elasticsearch_internal_test.go:1734–1737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1732}
1733
1734type mockESTransport struct {
1735 PerformFunc func(*http.Request) (*http.Response, error)
1736 CloseFunc func(context.Context) error
1737}
1738
1739func (m mockESTransport) Perform(req *http.Request) (*http.Response, error) {
1740 if m.PerformFunc != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected