Documentation
¶
Index ¶
Constants ¶
View Source
const PackageName = "component.ees"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Component ¶
type Component struct { Client *elasticsearch.Client // contains filtered or unexported fields }
Component ...
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
func DefaultContainer ¶
func DefaultContainer() *Container
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
Transport for tracing Elastic operations.
func NewTransport ¶
func NewTransport(opts ...TransportOption) *Transport
NewTransport specifies a transport that will trace Elastic and report back via OpenTracing.
type TransportOption ¶
type TransportOption func(t *Transport)
TransportOption signature for specifying options, e.g. WithRoundTripper.
func WithRoundTripper ¶
func WithRoundTripper(rt http.RoundTripper) TransportOption
WithRoundTripper specifies the http.RoundTripper to call next after this transport. If it is nil (default), the transport will use http.DefaultTransport.
Click to show internal directories.
Click to hide internal directories.