peer

package
v0.0.0-...-6ec6b3a Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Peer

type Peer struct {
	Id        mh.Multihash
	Addresses []*ma.Multiaddr
}

func (*Peer) AddAddress

func (p *Peer) AddAddress(a *ma.Multiaddr)

func (*Peer) NetAddress

func (p *Peer) NetAddress(n string) *ma.Multiaddr

type PeerBook

type PeerBook map[string]*Peer

type PeerId

type PeerId mh.Multihash

Jump to

Keyboard shortcuts

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