metrics

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidValueForTimeToLiveParam = errors.New("invalid value for the time-to-live parameter")

ErrInvalidValueForTimeToLiveParam signals that an invalid value for the time-to-live parameter was provided

Functions

func NewConnectionsMetric added in v1.0.11

func NewConnectionsMetric() *connectionsMetric

NewConnectionsMetric returns a new connectionsMetric instance

func NewDisabledConnectionsWatcher

func NewDisabledConnectionsWatcher() *disabledConnectionsWatcher

NewDisabledConnectionsWatcher returns a disabled ConnectionWatcher implementation

func NewPrintConnectionsWatcher

func NewPrintConnectionsWatcher(timeToLive time.Duration) (*printConnectionsWatcher, error)

NewPrintConnectionsWatcher creates a new

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL