mirror of
https://github.com/libp2p/go-libp2p-peerstore.git
synced 2025-01-14 02:30:05 +08:00
an object to manage sets of peers, their addresses and other metadata
517a48433f
1. Remove duplicate import. 2. Lift empty check to simplify code. 3. Use a more efficient map key (go will optimize this to not allocate). |
||
---|---|---|
.github/workflows | ||
addr | ||
pb | ||
pstoreds | ||
pstoremem | ||
queue | ||
test | ||
.gitignore | ||
codecov.yml | ||
go.mod | ||
go.sum | ||
interface.go | ||
LICENSE | ||
metrics_test.go | ||
metrics.go | ||
peerinfo.go | ||
peerstore.go | ||
README.md |
go-libp2p-peerstore
An object to manage peers, their addresses, and other metadata about them.
Install
go get github.com/libp2p/go-libp2p-peerstore
Usage
Check out the GoDocs.
Contribute
Feel free to join in. All welcome. Open an issue!
This repository falls under the IPFS Code of Conduct.
Want to hack on IPFS?
License
MIT
The last gx published version of this module was: 2.0.19: QmaCTz9RkrU13bm9kMB54f7atgqM4qkjDZpRwRoJiWXEqs