Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OutgoingHandshaker ¶
type OutgoingHandshaker struct { Addr *net.TCPAddr Source peer.Source Conn net.Conn PeerID [20]byte Extensions [8]byte Cipher mse.CryptoMethod Error error // contains filtered or unexported fields }
func (*OutgoingHandshaker) Close ¶
func (h *OutgoingHandshaker) Close()
func (*OutgoingHandshaker) Run ¶
func (h *OutgoingHandshaker) Run(dialTimeout, handshakeTimeout time.Duration, peerID, infoHash [20]byte, resultC chan *OutgoingHandshaker, ourExtensions [8]byte, disableOutgoingEncryption, forceOutgoingEncryption bool)
Click to show internal directories.
Click to hide internal directories.