package
0.5.5
Repository: https://github.com/elitak/go-libp2p-core.git
Documentation: pkg.go.dev

# Functions

AllViews returns all registered views as a single slice.
LookupViews returns all views for a Namespace name.
NewBandwidthCounter creates a new BandwidthCounter.
RegisterViews accepts a namespace and a slice of Views, which will be registered with opencensus and maintained in the global registered views map.

# Structs

BandwidthCounter tracks incoming and outgoing data transferred by the local peer.
No description provided by the author
Stats represents a point-in-time snapshot of bandwidth metrics.

# Interfaces

Reporter provides methods for logging and retrieving metrics.

# Type aliases

ErrDuplicateNamespaceRegistration is an error for a Namespace that has already registered views.
ErrUnregisteredNamespace is an error for lookup of requested unregistered Namespace.