Help us shape the future of Go! Take the 2026 Go Developer Survey

client

package
v0.79.4 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	runtimev1.RuntimeServiceClient
	// contains filtered or unexported fields
}

Client connects to a runtime server. It's a thin wrapper around the generated gRPC client for proto/rill/runtime/v1.

func New

func New(runtimeHost, bearerToken string) (*Client, error)

New creates a new Client and opens a connection. You must call Close() when done with the client.

func (*Client) Close

func (c *Client) Close() error

Close closes the client connection.

func (*Client) ConnectorServiceClient added in v0.78.0

func (c *Client) ConnectorServiceClient() runtimev1.ConnectorServiceClient

ConnectorServiceClient returns a ConnectorServiceClient using the same connection.

func (*Client) QueryServiceClient added in v0.78.0

func (c *Client) QueryServiceClient() runtimev1.QueryServiceClient

QueryServiceClient returns a QueryServiceClient using the same connection.

Jump to

Keyboard shortcuts

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