Documentation ¶
Index ¶
- type Client
- func (c *Client) ExecuteStatement(statement string, args []*service.Arg) (chan string, error)
- func (c *Client) RegisterProtobufs(ctx context.Context, in *service.RegisterProtobufsRequest, ...) error
- func (c *Client) SetPageSize(pageSize int)
- func (c *Client) Start() error
- func (c *Client) Stop() 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 a simple client used for executing statements against PranaDB, it used by the CLI and elsewhere
func (*Client) ExecuteStatement ¶
ExecuteStatement executes a Prana statement. Lines of output will be received on the channel that is returned. When the channel is closed, the results are complete
func (*Client) RegisterProtobufs ¶
func (c *Client) RegisterProtobufs(ctx context.Context, in *service.RegisterProtobufsRequest, option ...grpc.CallOption) error
func (*Client) SetPageSize ¶
Click to show internal directories.
Click to hide internal directories.