grpcgoogle.golang.org/grpc/internal Index | Files

package internal

import "google.golang.org/grpc/internal"

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

Index

Variables

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.

Source Files

internal.go

Version
v1.8.0
Published
Nov 21, 2017
Platform
windows/amd64
Last checked
31 minutes ago

Tools for package owners.