Documentation ¶
Index ¶
Constants ¶
View Source
const ( MsgChoke messageID = 0 MsgUnChoke messageID = 1 MsgIntrested messageID = 2 MsgNotIntrested messageID = 3 MsgHave messageID = 4 MsgBitfield messageID = 5 MsgRequest messageID = 6 MsgPiece messageID = 7 MsgCancel messageID = 8 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct { ID messageID Payload []byte }
func FormatHave ¶
func FormatRequest ¶
Click to show internal directories.
Click to hide internal directories.