internal

package
v0.0.0-...-5aa6c8e Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2020 License: Apache-2.0, BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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