Documentation ¶ Index ¶ type Client func NewClient(url string, rt http.RoundTripper) *Client func (c *Client) Health() (r *es.HealthResponse, err error) func (c *Client) NodeStats() (r *es.ClusterStats, err error) func (c *Client) SearchMessages(index string, query string, messageKey string) (total uint, messages []string, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { Client http.Client URL string } func NewClient ¶ func NewClient(url string, rt http.RoundTripper) *Client func (*Client) Health ¶ func (c *Client) Health() (r *es.HealthResponse, err error) func (*Client) NodeStats ¶ func (c *Client) NodeStats() (r *es.ClusterStats, err error) func (*Client) SearchMessages ¶ func (c *Client) SearchMessages(index string, query string, messageKey string) (total uint, messages []string, err error) nolint: funlen Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.