network

package module
v0.0.0-...-be28d35 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: AGPL-3.0 Imports: 13 Imported by: 0

README

go-dfs-network-libp2p

dfsDAO network service official implementation built on libp2p

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInternal    = errors.New("the internal error", errors.WithVendor(errVendor), errors.WithCode(-1))
	ErrDHTBoostrap = errors.New("libp2p dht boostrap addrs not found", errors.WithVendor(errVendor), errors.WithCode(-2))
)

errors

Functions

This section is empty.

Types

type Node

type Node interface {
	smf4go.Runnable
	Host() host.Host
	DHT() *dht.IpfsDHT
}

Node .

func New

func New(config scf4go.Config) (Node, error)

New .

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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