package peerstore
Import Path
github.com/libp2p/go-libp2p/p2p/host/peerstore (on go.dev)
Dependency Relation
imports 4 packages, and imported by one package
Package-Level Functions (total 3)
func NewMetrics() *metrics func PeerInfoIDs(pis []peer.AddrInfo) peer.IDSlice
Package-Level Variables (only one)
LatencyEWMASmoothing governs the decay of the EWMA (the speed
at which it changes). This must be a normalized (0-1) value.
1 is 100% change, 0 is no change.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |