//
pkg.gl
Category
github.com/dep2p/go-dep2p
p2plib
flow
metrics
package
0.0.2
Repository:
https://github.com/dep2p/go-dep2p.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
1
Files
299 SLOC
#
Functions
NewMeter
NewMeter returns a new Meter with the correct idle time.
SetClock
SetClock sets a clock to use in the sweeper.
#
Variables
IdleRate
IdleRate the rate at which we declare a meter idle (and stop tracking it until it's re-registered).
#
Structs
Meter
Meter is a meter for monitoring a flow.
MeterRegistry
MeterRegistry is a registry for named meters.
Snapshot
Snapshot is a rate/total snapshot.