grpc

package
v0.59.13 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConnectionShutdown = errors.New("connection shutdown before ready")

ErrConnectionShutdown indicates that the connection entered shutdown state before becoming ready

Functions

func Backoff

func Backoff(ctx context.Context) backoff.BackOff

Backoff returns a backoff configuration for gRPC calls

func CreateConnection

func CreateConnection(ctx context.Context, addr string, tlsEnabled bool, component string) (*grpc.ClientConn, error)

CreateConnection creates a gRPC client connection with the appropriate transport options. The component parameter specifies the WebSocket proxy component path (e.g., "/management", "/signal").

func WithCustomDialer

func WithCustomDialer(_ bool, _ string) grpc.DialOption

Types

This section is empty.

Jump to

Keyboard shortcuts

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