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. |
p2p/host/relay
The relay package contains host implementations that automatically advertise relay addresses when the presence of NAT is detected.
|
The relay package contains host implementations that automatically advertise relay addresses when the presence of NAT is detected. |
p2p/net/mock
Package mocknet provides a mock net.Network to test with.
|
Package mocknet provides a mock net.Network to test with. |
p2p/test/reconnects
Package reconnect tests connect -> disconnect -> reconnect works
|
Package reconnect tests connect -> disconnect -> reconnect works |
Package crypto implements various cryptographic utilities used by ipfs.
|
Package crypto implements various cryptographic utilities used by ipfs. |
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. |
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. |
Package peer implements an object used to represent peers in the ipfs network.
|
Package peer implements an object used to represent peers in the ipfs network. |
addr
Package addr provides utility functions to handle peer addresses.
|
Package addr provides utility functions to handle peer addresses. |
package routing defines the interface for a routing system used by ipfs.
|
package routing defines the interface for a routing system used by ipfs. |
Package secio is used to encrypt `go-libp2p-conn` connections.
|
Package secio is used to encrypt `go-libp2p-conn` connections. |
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 |
ci
Package ci implements some helper functions to use during tests.
|
Package ci implements some helper functions to use during tests. |
ci/travis
Package travis implements some helper functions to use during tests.
|
Package travis implements some helper functions to use during tests. |
Package websocket implements a websocket based transport for go-libp2p.
|
Package websocket implements a websocket based transport for go-libp2p. |
Click to show internal directories.
Click to hide internal directories.