Documentation ¶ Index ¶ type Client func New(uri string, httpClient *http.Client) *Client func (c *Client) Do(req *http.Request) (*http.Response, error) func (c *Client) Get(uri string) (*http.Response, error) func (c *Client) Ping() (*opensearchResponse, error) func (c *Client) Version() (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { URI string // contains filtered or unexported fields } func New ¶ func New(uri string, httpClient *http.Client) *Client func (*Client) Do ¶ func (c *Client) Do(req *http.Request) (*http.Response, error) func (*Client) Get ¶ func (c *Client) Get(uri string) (*http.Response, error) func (*Client) Ping ¶ func (c *Client) Ping() (*opensearchResponse, error) func (*Client) Version ¶ func (c *Client) Version() (string, error) Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.