package
0.0.4
Repository: https://github.com/hxx258456/ccgo.git
Documentation: pkg.go.dev

# Packages

Package csds implements features to dump the status (xDS responses) the xds_client is using.
Package googledirectpath implements a resolver that configures xds to make cloud to prod directpath connection.

# Functions

BootstrapContentsForTesting returns a grpc.ServerOption which allows users to inject a bootstrap configuration used by only this server, instead of the global configuration from the environment variables.
NewGRPCServer creates an xDS-enabled gRPC server using the passed in opts.
NewXDSResolverWithConfigForTesting creates a new xds resolver builder using the provided xds bootstrap config instead of the global configuration from the supported environment variables.
ServingModeCallback returns a grpc.ServerOption which allows users to register a callback to get notified about serving mode changes.

# Structs

GRPCServer wraps a gRPC server and provides server-side xDS functionality, by communication with a management server using xDS APIs.
ServingModeChangeArgs wraps the arguments passed to the serving mode callback function.

# Type aliases

ServingModeCallbackFunc is the callback that users can register to get notified about the server's serving mode changes.