package internal

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

Package internal contains gRPC-internal code, to avoid polluting the godoc of the top-level grpc package. It must not import any grpc symbols to avoid circular dependencies.

Index

Variables

var (

	// 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.
	TestingUseHandlerImpl func(grpcServer interface{})

	// WithContextDialer is exported by clientconn.go
	WithContextDialer interface{} // func(context.Context, string) (net.Conn, error) grpc.DialOption
	// WithResolverBuilder is exported by clientconn.go
	WithResolverBuilder interface{} // func (resolver.Builder) grpc.DialOption
)

Source Files

internal.go

Directories

PathSynopsis
internal/backoffPackage backoff implement the backoff strategy for gRPC.
internal/channelzPackage channelz defines APIs for enabling channelz service, entry registration/deletion, and accessing channelz data.
internal/grpcrandPackage grpcrand implements math/rand functions in a concurrent-safe way with a global random source, independent of math/rand's global source.
internal/leakcheckPackage leakcheck contains functions to check leaked goroutines.
Version
v1.13.0
Published
Jun 19, 2018
Platform
linux/amd64
Last checked
18 minutes ago

Tools for package owners.