package
1.51.4
Repository: https://github.com/lfch/grpc.git
Documentation: pkg.go.dev

# Packages

Package admin contains internal implementation for admin service.
Package backoff implement the backoff strategy for gRPC.
No description provided by the author
Package balancergroup implements a utility struct to bind multiple balancers into one balancer.
Package balancerload defines APIs to parse server loads in trailers.
Package binarylog implementation binary logging as defined in https://github.com/grpc/proposal/blob/master/A16-binary-logging.md.
Package buffer provides an implementation of an unbounded buffer.
Package cache implements caches to be used in gRPC.
Package channelz defines APIs for enabling channelz service, entry registration/deletion, and accessing channelz data.
Package credentials defines APIs for parsing SPIFFE ID.
Package envconfig contains grpc settings configured by environment variables.
Package googlecloud contains internal helpful functions for google cloud.
Package grpclog (internal) defines depth logging for grpc.
Package grpcrand implements math/rand functions in a concurrent-safe way with a global random source, independent of math/rand's global source.
Package grpcsync implements additional synchronization primitives built upon the sync package.
Package grpctest implements testing helpers.
Package grpcutil provides utility functions used across the gRPC codebase.
Package hierarchy contains functions to set and get hierarchy string from addresses.
Package leakcheck contains functions to check leaked goroutines.
Package metadata contains functions to set and get metadata from addresses.
No description provided by the author
Package pretty defines helper functions to pretty-print structs for logging.
Package profiling contains two logical components: buffer.go and profiling.go.
No description provided by the author
Package resolver provides internal resolver-related functionality.
Package serviceconfig contains utility functions to parse service config.
Package status implements errors returned by gRPC.
Package stubserver is a stubbable implementation of google.golang.org/grpc/test/grpc_testing for testing purposes.
Package syscall provides functionalities that grpc uses to get low-level operating system stats/info.
Package testutils contains testing helpers.
Package transport defines and implements message oriented communication channel to complete various transactions (e.g., an RPC).
Package wrr contains the interface and common implementations of wrr algorithms.
Package xds contains types that need to be shared between code under google.golang.org/grpc/xds/..

# Functions

GetXDSHandshakeClusterName returns cluster name stored in attr.
SetXDSHandshakeClusterName returns a copy of addr in which the Attributes field is updated with the cluster name.

# Constants

CredsBundleModeBackendFromBalancer switches GoogleDefaultCreds to mode that supports backend returned by grpclb balancer.
CredsBundleModeBalancer switches GoogleDefaultCreds to grpclb balancer mode.
CredsBundleModeFallback switches GoogleDefaultCreds to fallback mode.
RLSLoadBalancingPolicyName is the name of the RLS LB policy.

# Variables

func(opt ...DialOption).
func(opt ...ServerOption).
BalancerUnregister is exported by package balancer to unregister a balancer.
ClearExtraDialOptions clears the array of extra DialOption.
ClearExtraServerOptions clears the array of extra ServerOption.
func(*grpc.Server, string).
EqualServiceConfigForTesting is for testing service config generation and parsing.
func(string) certprovider.Builder.
func (*grpc.Server) credentials.TransportCredentials.
func (*attributes.Attributes) *xds.HandshakeInfo.
HealthCheckFunc is used to provide client-side LB channel health checking.
func(...grpc.ServerOption) grpc.ServerOption.
KeepaliveMinPingTime is the minimum ping interval.
func([]byte) (resolver.Builder, error).
func(string) *serviceconfig.ParseResult.
RegisterOutlierDetectionBalancerForTesting registers the Outlier Detection Balancer for testing purposes, regardless of the Outlier Detection environment variable.
RegisterRBACHTTPFilterForTesting registers the RBAC HTTP Filter for testing purposes, regardless of the RBAC environment variable.
RegisterRLSClusterSpecifierPluginForTesting registers the RLS Cluster Specifier Plugin for testing purposes, regardless of the XDSRLS environment variable.
UnregisterOutlierDetectionBalancerForTesting unregisters the Outlier Detection Balancer for testing purposes.
UnregisterRBACHTTPFilterForTesting unregisters the RBAC HTTP Filter for testing purposes.
UnregisterRLSClusterSpecifierPluginForTesting unregisters the RLS Cluster Specifier Plugin for testing purposes.
func (HealthChecker) DialOption.

# Type aliases

HealthChecker defines the signature of the client-side LB channel health checking function.