p2p

package
v0.0.0-...-1ab0d2a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RelayAddr = "/ip4/128.199.6.92/tcp/4001/p2p/12D3KooWGDynerXsf3KeXAQAp4RUpQKkusYYEjMq918czPxUXCRX"
)

Variables

View Source
var (
	DefaultBootstrapPeers []peer.AddrInfo
)

Functions

This section is empty.

Types

type Peer

type Peer struct {
	host.Host
	DHT       *dht.IpfsDHT
	Discovery discovery.Discovery
}

func New

func New(ctx context.Context) (*Peer, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL