Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IncomingHandshaker ¶
type IncomingHandshaker struct { Conn net.Conn PeerID [20]byte Extensions *bitfield.Bitfield Error error // contains filtered or unexported fields }
func New ¶
func New(conn net.Conn) *IncomingHandshaker
func (*IncomingHandshaker) Close ¶
func (h *IncomingHandshaker) Close()
Click to show internal directories.
Click to hide internal directories.