Back to godoc.org
go.etcd.io/etcd / clientv3 / balancer / connectivity

Package connectivity

v3.3.22+incompatible
Latest Go to latest

The latest major version is .

Published: May 20, 2020 | License: Apache-2.0 | Module: go.etcd.io/etcd

Overview

Package connectivity implements client connectivity operations.

Index

type Recorder

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

Recorder records gRPC connectivity.

func New

func New(lg *zap.Logger) Recorder

New returns a new Recorder.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier