Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

internal

v1.6.0
github.com/ppg/grpc-go/internal

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

3 matches

Top ↑

Package internal contains gRPC-internal code for testing, to avoid polluting the godoc of the top-level grpc package.

Variables

TestingCloseConns

var TestingCloseConns func(grpcServer interface{})

TestingCloseConns closes all existing transports but keeps grpcServer.lis accepting new connections.

The provided grpcServer must be of type *grpc.Server. It is untyped for circular dependency reasons.

TestingUseHandlerImpl

var TestingUseHandlerImpl func(grpcServer interface{})

TestingUseHandlerImpl enables the http.Handler-based server implementation. It must be called before Serve and requires TLS credentials.

The provided grpcServer must be of type *grpc.Server. It is untyped for circular dependency reasons.

Dependency graph