peer

package
v0.0.0-...-2ce55d9 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() error

Types

type Peer

type Peer struct {
	Self               iface.PeerInfo
	Neighbours         []iface.PeerInfo
	NeighboursLock     sync.Mutex
	ChatHistoryBox     *tui.Box
	ChatHistoryBoxLock sync.Mutex
	UIPainter          tui.UI
	ReadMsgs           map[string]bool
	ReadMsgsLock       sync.Mutex
}

Jump to

Keyboard shortcuts

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