4 "github.com/anacrolix/torrent/metainfo"
7 // Contains implementation details that differ between peer types, like Webseeds and regular
8 // BitTorrent protocol connections. Some methods are underlined so as to avoid collisions with
9 // legacy PeerConn methods.
10 type peerImpl interface {
12 writeInterested(interested bool) bool
14 // Return true if there's room for more activity.
16 connectionFlags() string
19 onGotInfo(*metainfo.Info)
22 connStatusString() string