grpc: Index | Files

package connectivity

import ""

Package connectivity defines connectivity semantics. For details, see All APIs in this package are experimental.


Package Files


type State Uses

type State int

State indicates the state of connectivity. It can be the state of a ClientConn or SubConn.

const (
    // Idle indicates the ClientConn is idle.
    Idle State = iota
    // Connecting indicates the ClientConn is connecting.
    // Ready indicates the ClientConn is ready for work.
    // TransientFailure indicates the ClientConn has seen a failure but expects to recover.
    // Shutdown indicates the ClientConn has started shutting down.

func (State) String Uses

func (s State) String() string

Package connectivity imports 1 packages (graph) and is imported by 278 packages. Updated 2020-09-15. Refresh now. Tools for package owners.