mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2024-12-26 23:30:27 +08:00
Interfaces and abstractions that make up go-libp2p
ea8b36912f
* run go mod tidy * omit receiver name if unused * remove unused type testkey in tests * fix duplicate import of go-multiaddr * fix use of deprecated peer.IDB58{Encode,Decode} * use bytes.Equal instead of bytes.Compare * fix unnecessary assigments to blank identifier * use time.Until instead of t.Sub(time.Now()) * fix use of deprecated go-multihash.ID * add missing error check in envelope test * fix error check in tests |
||
---|---|---|
connmgr | ||
control | ||
crypto | ||
discovery | ||
event | ||
helpers | ||
host | ||
introspection | ||
metrics | ||
mux | ||
network | ||
peer | ||
peerstore | ||
pnet | ||
protocol | ||
record | ||
routing | ||
sec | ||
test | ||
tools | ||
transport | ||
.gitignore | ||
.travis.yml | ||
alias.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
go-libp2p-core
Home to the interfaces and abstractions that make up go-libp2p.
Minimum go version: 1.13
Install
go get github.com/libp2p/go-libp2p-core
Usage
Check out the GoDocs.
Testing
To test instantiations of interfaces and abstractions, you can use the test suite.
License
Dual-licensed under MIT and ASLv2, by way of the Permissive License Stack.