PwnDht

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PwnDht

type PwnDht struct {
	Config         map[string]string
	Notifee        chan peer.AddrInfo
	BootstrapPeers []multiaddr.Multiaddr
}

func New

func New() *PwnDht

func (*PwnDht) DataNoti

func (n *PwnDht) DataNoti(i interface{})

func (*PwnDht) GetConfig

func (n *PwnDht) GetConfig() interface{}

func (*PwnDht) LogNoti

func (n *PwnDht) LogNoti(i interface{})

func (*PwnDht) SetConfig

func (n *PwnDht) SetConfig(i interface{})

func (*PwnDht) Start

func (n *PwnDht) Start()

func (*PwnDht) Stop

func (n *PwnDht) Stop()

func (*PwnDht) StringsToAddrs

func (n *PwnDht) StringsToAddrs(addrStrings []string) (maddrs []multiaddr.Multiaddr, err error)

Jump to

Keyboard shortcuts

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