v1

package
v0.55.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 13 Imported by: 0

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 WithHostPort

func WithHostPort(hostPort string) func(*clientOpts)

func WithLogger

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

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