Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Peer ¶
type Peer struct { PeerID [20]byte IP *net.TCPAddr Conn *net.TCPConn BitField msg.Bitfield Start time.Time Active bool Rates *Rates Downloading bool // Should upload to best 4 peers. BlockOut chan []byte // Channel for sending blocks. Choked bool Interested bool IsChoking bool IsInterested bool // UI elements. Activity *tview.TextView // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.