package
0.13.1-beta1
Repository: https://github.com/donewscode/core.git
Documentation: pkg.go.dev

# Functions

NewTransport specifies a transport that will trace Elastic and report back via OpenTracing.
Providers returns a set of dependency providers.
WithClientConstructor instructs the Providers to accept an alternative constructor for elasticsearch client.
WithConfigInterceptor instructs the Providers to accept the EsConfigInterceptor so that users can change config during runtime.
WithReload toggles whether to reload the factory after receiving the OnReload event.
WithRoundTripper specifies the http.RoundTripper to call next after this transport.
WithTracer specifies the opentracing.Tracer to call this transport.

# Structs

ClientArgs are arguments for constructing elasticsearch clients.
Config is the type of elasticsearch configurations.
ElasticLogAdapter is an adapter between kitlog and elastic logger interface.
Transport for tracing Elastic operations.

# Interfaces

Maker models Factory.

# Type aliases

EsConfigInterceptor is an injector type hint that allows user to do last minute modification to es configurations.
ProvidersOptionFunc is the type of functional providersOption for Providers.
TransportOption signature for specifying options, e.g.