README
¶
go-libp2p-metrics
A connection wrapper for go-libp2p that provides bandwidth statistics for wrapped connections.
Table of Contents
Install
make install
Contribute
PRs are welcome!
Small note: If editing the Readme, please conform to the standard-readme specification.
License
MIT © Jeromy Johnson
The last gx published version of this module was: 2.1.14: QmSwVwKUWzdf3ppM3FbBbpuqHUNtUFJPQQdfvKmgZoz2gR
Documentation
¶
Overview ¶
Deprecated: use github.com/libp2p/go-libp2p-core/metrics instead.
Index ¶
- func NewBandwidthCounter() *core.BandwidthCounterdeprecated
- type BandwidthCounterdeprecated
- type Reporterdeprecated
- type Statsdeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBandwidthCounter
deprecated
func NewBandwidthCounter() *core.BandwidthCounter
Deprecated: use github.com/libp2p/go-libp2p-core/metrics.NewBandwidthCounter instead.
Types ¶
type BandwidthCounter
deprecated
type BandwidthCounter = core.BandwidthCounter
Deprecated: use github.com/libp2p/go-libp2p-core/metrics.BandwidthCounter instead.
type Reporter
deprecated
type Reporter = core.Reporter
Deprecated: use github.com/libp2p/go-libp2p-core/metrics.Reporter instead.
type Stats
deprecated
type Stats = core.Stats
Deprecated: use github.com/libp2p/go-libp2p-core/metrics.Stats instead.