peerset

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PeerSet

type PeerSet struct {
	Peers []*peer.Peer
}

func (*PeerSet) Add

func (l *PeerSet) Add(pe *peer.Peer) bool

func (*PeerSet) Has

func (l *PeerSet) Has(pe *peer.Peer) bool

func (*PeerSet) Len

func (l *PeerSet) Len() int

func (*PeerSet) Remove

func (l *PeerSet) Remove(pe *peer.Peer) bool

Jump to

Keyboard shortcuts

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