grpchelpers

package
v1.54.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBufferedClient added in v1.54.0

func NewBufferedClient(listener *bufconn.Listener, opts ...grpc.DialOption) (*grpc.ClientConn, error)

NewBufferedClient creates a client connection to an in-memory bufconn listener. Insecure transport credentials are used by default; pass grpc.WithTransportCredentials to override. RPCs will wait for the connection to be ready, handling the startup race between server and client in tests. Additional opts are applied after the defaults, so caller-provided options take precedence.

Types

This section is empty.

Jump to

Keyboard shortcuts

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