client

package
v3.31.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2023 License: Apache-2.0, Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package client is an HTTP client for the Queryer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is an HTTP client that operates on the Controller endpoints exposed by the main Controller service.

func New

func New(address dax.Address, logger logger.Logger) *Client

New returns a new instance of Client.

func (*Client) Health

func (c *Client) Health() bool

Health returns true if the client address returns status OK at its /health endpoint.

func (*Client) QueryPQL

func (*Client) QuerySQL

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL