etcd: go.etcd.io/etcd/clientv3/balancer/connectivity Index | Files

package connectivity

import "go.etcd.io/etcd/clientv3/balancer/connectivity"

Package connectivity implements client connectivity operations.

Index

Package Files

connectivity.go

type Recorder Uses

type Recorder interface {
    GetCurrentState() connectivity.State
    RecordTransition(oldState, newState connectivity.State)
}

Recorder records gRPC connectivity.

func New Uses

func New(lg *zap.Logger) Recorder

New returns a new Recorder.

Package connectivity imports 3 packages (graph) and is imported by 6 packages. Updated 2019-07-27. Refresh now. Tools for package owners.