go-libp2p-core: github.com/libp2p/go-libp2p-core Index | Files | Directories

package core

import "github.com/libp2p/go-libp2p-core"

Package core provides convenient access to foundational, central go-libp2p primitives via type aliases.

Index

Package Files

alias.go

type Conn Uses

type Conn = network.Conn

Conn aliases network.Conn.

Refer to the docs on that type for more info.

type Host Uses

type Host = host.Host

Host aliases host.Host.

Refer to the docs on that type for more info.

type Multiaddr Uses

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 Network Uses

type Network = network.Network

Network aliases network.Network.

Refer to the docs on that type for more info.

type PeerAddrInfo Uses

type PeerAddrInfo = peer.AddrInfo

PeerAddrInfo aliases peer.AddrInfo.

Refer to the docs on that type for more info.

type PeerID Uses

type PeerID = peer.ID

PeerID aliases peer.ID.

Refer to the docs on that type for more info.

type ProtocolID Uses

type ProtocolID = protocol.ID

PeerID aliases protocol.ID.

Refer to the docs on that type for more info.

type Stream Uses

type Stream = network.Stream

Stream aliases network.Stream.

Refer to the docs on that type for more info.

Directories

PathSynopsis
connmgrPackage connmgr provides connection tracking and management interfaces for libp2p.
cryptoPackage crypto implements various cryptographic utilities used by libp2p.
crypto/pb
discoveryPackage discovery provides service advertisement and peer discovery interfaces for libp2p.
eventPackage event contains the abstractions for a local event bus, along with the standard events that libp2p subsystems may emit.
helpers
hostPackage host provides the core Host interface for libp2p.
metricsPackage metrics provides metrics collection and reporting interfaces for libp2p.
muxPackage mux provides stream multiplexing interfaces for libp2p.
networkPackage network provides core networking abstractions for libp2p.
peerPackage peer implements an object used to represent peers in the libp2p network.
peerstorePackage peerstore provides types and interfaces for local storage of address information, metadata, and public key material about libp2p peers.
pnetPackage pnet provides interfaces for private networking in libp2p.
protocolPackage protocol provides core interfaces for protocol routing and negotiation in libp2p.
routingPackage routing provides interfaces for peer routing and content routing in libp2p.
secPackage sec provides secure connection and transport interfaces for libp2p.
sec/insecurePackage insecure provides an insecure, unencrypted implementation of the the SecureConn and SecureTransport interfaces.
sec/insecure/pb
test
transportPackage transport provides the Transport interface, which represents the devices and network protocols used to send and recieve data.

Package core imports 5 packages (graph) and is imported by 23 packages. Updated 2019-12-10. Refresh now. Tools for package owners.