package connectivity

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

Dependency Relation
	imports 2 packages, 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. All APIs in this package are experimental.
Package-Level Type Names (total 2, both are exported)
/* sort exporteds by: | */
Reporter reports the connectivity states. CurrentState returns the current state of the reporter. WaitForStateChange blocks until the reporter's state is different from the given state, and returns true. It returns false if <-ctx.Done() can proceed (ctx got timeout or got canceled).
State indicates the state of connectivity. It can be the state of a ClientConn or SubConn. ( T) String() string T : expvar.Var T : fmt.Stringer func Reporter.CurrentState() State func google.golang.org/grpc.(*ClientConn).GetState() State func google.golang.org/grpc/balancer.(*ConnectivityStateEvaluator).RecordTransition(oldState, newState State) State func Reporter.WaitForStateChange(context.Context, State) bool 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 5, all are exported)
Connecting indicates the ClientConn is connecting.
Idle indicates the ClientConn is idle.
Ready indicates the ClientConn is ready for work.
Shutdown indicates the ClientConn has started shutting down.
TransientFailure indicates the ClientConn has seen a failure but expects to recover.