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

v1

package
v0.73.34 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 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