mirror of
https://github.com/libp2p/go-libp2p-core.git
synced 2025-02-10 06:40:09 +08:00
Interfaces and abstractions that make up go-libp2p
- removes unused error return from blankRecordForPayloadType - just references instead of copying in DefaultRecord.UnmarshalRecord I figure this is likely safe, since we'll be unmarshalling from the payload of an Envelope, which shouldn't get altered after it's created. |
||
---|---|---|
connmgr | ||
crypto | ||
discovery | ||
event | ||
helpers | ||
host | ||
metrics | ||
mux | ||
network | ||
peer | ||
peerstore | ||
pnet | ||
protocol | ||
record | ||
routing | ||
sec | ||
test | ||
transport | ||
.gitignore | ||
.travis.yml | ||
alias.go | ||
compat-check | ||
go.mod | ||
go.sum | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md | ||
tools.go |
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.