package connectivity

Import Path
	google.golang.org/grpc/connectivity (on go.dev)

Dependency Relation
	imports one package, and imported by 6 packages

Involved Source Files Package connectivity defines connectivity semantics. For details, see https://github.com/grpc/grpc/blob/master/doc/connectivity-semantics-and-api.md.
Package-Level Type Names (total 2, both are exported)
/* sort exporteds by: | */
ServingMode indicates the current mode of operation of the server. Only xDS enabled gRPC servers currently report their serving mode. ( ServingMode) String() string ServingMode : expvar.Var ServingMode : fmt.Stringer const ServingModeNotServing const ServingModeServing const ServingModeStarting
State indicates the state of connectivity. It can be the state of a ClientConn or SubConn. ( State) String() string State : expvar.Var State : fmt.Stringer func google.golang.org/grpc.(*ClientConn).GetState() State func google.golang.org/grpc/balancer.(*ConnectivityStateEvaluator).CurrentState() State func google.golang.org/grpc/balancer.(*ConnectivityStateEvaluator).RecordTransition(oldState, newState State) State func google.golang.org/grpc.(*ClientConn).WaitForStateChange(ctx context.Context, sourceState State) bool func google.golang.org/grpc/balancer.(*ConnectivityStateEvaluator).RecordTransition(oldState, newState State) State const Connecting const Idle const Ready const Shutdown const TransientFailure
Package-Level Variables (only one, which is unexported)
Package-Level Constants (total 8, all are exported)
Connecting indicates the ClientConn is connecting.
Idle indicates the ClientConn is idle.
Ready indicates the ClientConn is ready for work.
ServingModeNotServing indicates that the server is not accepting new connections. Existing connections will be closed gracefully, allowing in-progress RPCs to complete. A server enters this mode when it does not contain the required configuration to serve RPCs.
ServingModeServing indicates that the server contains all required configuration and is serving RPCs.
ServingModeStarting indicates that the server is starting up.
Shutdown indicates the ClientConn has started shutting down.
TransientFailure indicates the ClientConn has seen a failure but expects to recover.