Documentation ¶
Overview ¶
Package client is an HTTP client for the Queryer.
Index ¶
- type Client
- func (c *Client) Health() bool
- func (c *Client) QueryPQL(ctx context.Context, qdbid dax.QualifiedDatabaseID, table dax.TableName, ...) (*featurebase.WireQueryResponse, error)
- func (c *Client) QuerySQL(ctx context.Context, qdbid dax.QualifiedDatabaseID, sql string) (*featurebase.WireQueryResponse, error)
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 (*Client) Health ¶
Health returns true if the client address returns status OK at its /health endpoint.
func (*Client) QueryPQL ¶
func (c *Client) QueryPQL(ctx context.Context, qdbid dax.QualifiedDatabaseID, table dax.TableName, pql string) (*featurebase.WireQueryResponse, error)
func (*Client) QuerySQL ¶
func (c *Client) QuerySQL(ctx context.Context, qdbid dax.QualifiedDatabaseID, sql string) (*featurebase.WireQueryResponse, error)
Click to show internal directories.
Click to hide internal directories.