Categorygithub.com/elitak/go-libp2p-core
modulepackage
0.5.5
Repository: https://github.com/elitak/go-libp2p-core.git
Documentation: pkg.go.dev

# README

go-libp2p-core

GoDoc Coverage Status Build Status Discourse posts

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.

# Packages

Package connmgr provides connection tracking and management interfaces for libp2p.
Package crypto implements various cryptographic utilities used by libp2p.
Package discovery provides service advertisement and peer discovery interfaces for libp2p.
Package event contains the abstractions for a local event bus, along with the standard events that libp2p subsystems may emit.
No description provided by the author
Package host provides the core Host interface for libp2p.
Package metrics provides metrics collection and reporting interfaces for libp2p.
Package mux provides stream multiplexing interfaces for libp2p.
Package network provides core networking abstractions for libp2p.
Package peer contains Protobuf and JSON serialization/deserialization methods for peer IDs.
Package peerstore provides types and interfaces for local storage of address information, metadata, and public key material about libp2p peers.
Package pnet provides interfaces for private networking in libp2p.
Package protocol provides core interfaces for protocol routing and negotiation in libp2p.
No description provided by the author
Package routing provides interfaces for peer routing and content routing in libp2p.
Package sec provides secure connection and transport interfaces for libp2p.
No description provided by the author
Package transport provides the Transport interface, which represents the devices and network protocols used to send and receive data.

# Type aliases

Conn aliases network.Conn.
Host aliases host.Host.
Multiaddr aliases the Multiaddr type from github.com/multiformats/go-multiaddr.
Network aliases network.Network.
PeerAddrInfo aliases peer.AddrInfo.
PeerID aliases peer.ID.
PeerID aliases protocol.ID.
Stream aliases network.Stream.