Directories ¶
Path | Synopsis |
---|---|
Package pool provides a sync.Pool equivalent that buckets incoming requests to one of 32 sub-pools, one for each power of 2, 0-32.
|
Package pool provides a sync.Pool equivalent that buckets incoming requests to one of 32 sub-pools, one for each power of 2, 0-32. |
Package cidranger provides utility to store CIDR blocks and perform ip inclusion tests against it.
|
Package cidranger provides utility to store CIDR blocks and perform ip inclusion tests against it. |
net
Package net provides utility functions for working with IPs (net.IP).
|
Package net provides utility functions for working with IPs (net.IP). |
p2p/host/relay
The relay package contains the components necessary to implement the "autorelay" feature.
|
The relay package contains the components necessary to implement the "autorelay" feature. |
Package core provides convenient access to foundational, central go-libp2p primitives via type aliases.
|
Package core provides convenient access to foundational, central go-libp2p primitives via type aliases. |
connmgr
Package connmgr provides connection tracking and management interfaces for libp2p.
|
Package connmgr provides connection tracking and management interfaces for libp2p. |
crypto
Package crypto implements various cryptographic utilities used by libp2p.
|
Package crypto implements various cryptographic utilities used by libp2p. |
discovery
Package discovery provides service advertisement and peer discovery interfaces for libp2p.
|
Package discovery provides service advertisement and peer discovery interfaces for libp2p. |
event
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. |
host
Package host provides the core Host interface for libp2p.
|
Package host provides the core Host interface for libp2p. |
introspection
Package introspection is EXPERIMENTAL.
|
Package introspection is EXPERIMENTAL. |
introspection/pb
Package introspection/pb contains the protobuf definitions and objects for that form the libp2p introspection protocol.
|
Package introspection/pb contains the protobuf definitions and objects for that form the libp2p introspection protocol. |
metrics
Package metrics provides metrics collection and reporting interfaces for libp2p.
|
Package metrics provides metrics collection and reporting interfaces for libp2p. |
mux
Package mux provides stream multiplexing interfaces for libp2p.
|
Package mux provides stream multiplexing interfaces for libp2p. |
network
Package network provides core networking abstractions for libp2p.
|
Package network provides core networking abstractions for libp2p. |
peer
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. |
peerstore
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. |
pnet
Package pnet provides interfaces for private networking in libp2p.
|
Package pnet provides interfaces for private networking in libp2p. |
protocol
Package protocol provides core interfaces for protocol routing and negotiation in libp2p.
|
Package protocol provides core interfaces for protocol routing and negotiation in libp2p. |
routing
Package routing provides interfaces for peer routing and content routing in libp2p.
|
Package routing provides interfaces for peer routing and content routing in libp2p. |
sec
Package sec provides secure connection and transport interfaces for libp2p.
|
Package sec provides secure connection and transport interfaces for libp2p. |
sec/insecure
Package insecure provides an insecure, unencrypted implementation of the the SecureConn and SecureTransport interfaces.
|
Package insecure provides an insecure, unencrypted implementation of the the SecureConn and SecureTransport interfaces. |
transport
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. |
Deprecated: use github.com/libp2p/go-libp2p-core/crypto instead.
|
Deprecated: use github.com/libp2p/go-libp2p-core/crypto instead. |
Package dht implements a distributed hash table that satisfies the ipfs routing interface.
|
Package dht implements a distributed hash table that satisfies the ipfs routing interface. |
dual
Package dual provides an implementaiton of a split or "dual" dht, where two parallel instances are maintained for the global internet and the local LAN respectively.
|
Package dual provides an implementaiton of a split or "dual" dht, where two parallel instances are maintained for the global internet and the local LAN respectively. |
package kbucket implements a kademlia 'k-bucket' routing table.
|
package kbucket implements a kademlia 'k-bucket' routing table. |
Package loggables includes a bunch of transaltor functions for commonplace/stdlib objects.
|
Package loggables includes a bunch of transaltor functions for commonplace/stdlib objects. |
Deprecated: use github.com/libp2p/go-libp2p-core/peer instead.
|
Deprecated: use github.com/libp2p/go-libp2p-core/peer instead. |
addr
Package addr provides utility functions to handle peer addresses.
|
Package addr provides utility functions to handle peer addresses. |
The pubsub package provides facilities for the Publish/Subscribe pattern of message propagation, also known as overlay multicast.
|
The pubsub package provides facilities for the Publish/Subscribe pattern of message propagation, also known as overlay multicast. |
Package secio is used to encrypt `go-libp2p-conn` connections.
|
Package secio is used to encrypt `go-libp2p-conn` connections. |
protoio
Adapted from gogo/protobuf to use multiformats/go-varint for efficient, interoperable length-prefixing.
|
Adapted from gogo/protobuf to use multiformats/go-varint for efficient, interoperable length-prefixing. |
Package nat implements NAT handling facilities
|
Package nat implements NAT handling facilities |
Originally found in https://github.com/google/gopacket/blob/master/routing/routing.go * Route selection modified to choose most selective route to break ties when route priority is insufficient.
|
Originally found in https://github.com/google/gopacket/blob/master/routing/routing.go * Route selection modified to choose most selective route to break ties when route priority is insufficient. |
Package openssl is a light wrapper around OpenSSL for Go.
|
Package openssl is a light wrapper around OpenSSL for Go. |
Package reuseport provides Listen and Dial functions that set socket options in order to be able to reuse ports.
|
Package reuseport provides Listen and Dial functions that set socket options in order to be able to reuse ports. |
net
package sockaddrnet provides conversions between net.Addr and Sockaddr
|
package sockaddrnet provides conversions between net.Addr and Sockaddr |
package multistream implements a peerstream transport using go-multistream to select the underlying stream muxer
|
package multistream implements a peerstream transport using go-multistream to select the underlying stream muxer |
Package websocket implements a websocket based transport for go-libp2p.
|
Package websocket implements a websocket based transport for go-libp2p. |
go-yamux
|
|
Click to show internal directories.
Click to hide internal directories.