connectivity

package
Version: v3.3.24+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package connectivity implements client connectivity operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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.

Source Files

Jump to

Keyboard shortcuts

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