Documentation ¶
Overview ¶
Package core provides convenient access to foundational, central go-libp2p primitives via type aliases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Multiaddr ¶
type Multiaddr = multiaddr.Multiaddr
Multiaddr aliases the Multiaddr type from github.com/multiformats/go-multiaddr.
Refer to the docs on that type for more info.
type PeerAddrInfo ¶
PeerAddrInfo aliases peer.AddrInfo.
Refer to the docs on that type for more info.
Directories ¶
Path | Synopsis |
---|---|
Package connmgr provides connection tracking and management interfaces for libp2p.
|
Package connmgr provides connection tracking and management interfaces for libp2p. |
Package crypto implements various cryptographic utilities used by libp2p.
|
Package crypto implements various cryptographic utilities used by libp2p. |
Package discovery provides service advertisement and peer discovery interfaces for 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.
|
Package event contains the abstractions for a local event bus, along with the standard events that libp2p subsystems may emit. |
Package host provides the core Host interface for libp2p.
|
Package host provides the core Host interface for libp2p. |
internal
|
|
Package metrics provides metrics collection and reporting interfaces for libp2p.
|
Package metrics provides metrics collection and reporting interfaces for libp2p. |
Package network provides core networking abstractions for libp2p.
|
Package network provides core networking abstractions for libp2p. |
mocks
Package mocknetwork is a generated GoMock package.
|
Package mocknetwork is a generated GoMock package. |
Package peer implements an object used to represent peers in the libp2p network.
|
Package peer implements an object used to represent peers in the libp2p network. |
Package peerstore provides types and interfaces for local storage of address information, metadata, and public key material about libp2p peers.
|
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 pnet provides interfaces for private networking in libp2p. |
Package protocol provides core interfaces for protocol routing and negotiation in libp2p.
|
Package protocol provides core interfaces for protocol routing and negotiation in libp2p. |
Package routing provides interfaces for peer routing and content routing in libp2p.
|
Package routing provides interfaces for peer routing and content routing in libp2p. |
Package sec provides secure connection and transport interfaces for libp2p.
|
Package sec provides secure connection and transport interfaces for libp2p. |
insecure
Package insecure provides an insecure, unencrypted implementation of the SecureConn and SecureTransport interfaces.
|
Package insecure provides an insecure, unencrypted implementation of the SecureConn and SecureTransport interfaces. |
Package transport provides the Transport interface, which represents the devices and network protocols used to send and receive data.
|
Package transport provides the Transport interface, which represents the devices and network protocols used to send and receive data. |
Click to show internal directories.
Click to hide internal directories.