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.
Click to show internal directories.
Click to hide internal directories.