v1

package
v0.105.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 14 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthContext

func AuthContext(ctx context.Context, token string) context.Context

func WithDisableGzipCompression added in v0.73.73

func WithDisableGzipCompression(disable bool) func(*clientOpts)

func WithHostPort

func WithHostPort(hostPort string) func(*clientOpts)

func WithLogger

func WithLogger(l *zerolog.Logger) func(*clientOpts)

func WithMetadata added in v0.79.36

func WithMetadata(ctx context.Context, key, value string) context.Context

func WithTLS

func WithTLS(tls *tls.Config) func(*clientOpts)

func WithToken

func WithToken(token string) func(*clientOpts)

Types

type GRPCClient

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

func NewGRPCClient

func NewGRPCClient(fs ...GRPCClientOpt) (*GRPCClient, error)

func (*GRPCClient) Admin

type GRPCClientFactory

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

func NewGRPCClientFactory

func NewGRPCClientFactory(fs ...GRPCClientOpt) *GRPCClientFactory

func (*GRPCClientFactory) NewGRPCClient

func (f *GRPCClientFactory) NewGRPCClient(token string) (*GRPCClient, error)

type GRPCClientOpt

type GRPCClientOpt func(*clientOpts)

Jump to

Keyboard shortcuts

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