Documentation ¶ Index ¶ func NewESClient(username, password string, urls ...string) *elastic.Client type BasicAuthTransport func (p *BasicAuthTransport) RoundTrip(r *http.Request) (*http.Response, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewESClient ¶ func NewESClient(username, password string, urls ...string) *elastic.Client Types ¶ type BasicAuthTransport ¶ type BasicAuthTransport struct { http.Transport // contains filtered or unexported fields } func (*BasicAuthTransport) RoundTrip ¶ func (p *BasicAuthTransport) RoundTrip(r *http.Request) (*http.Response, error) Source Files ¶ View all Source files es.go Click to show internal directories. Click to hide internal directories.