# Functions
AddActiveConnEvent returns an event for an added active conn from self to peer.
AddTorrentEvent returns an event for an added torrent with initial bitfield.
BlacklistConnEvent returns an event for a blacklisted connection.
DropActiveConnEvent returns an event for a dropped active conn from self to peer.
Filter filters events by name.
NewProducer creates a new Producer.
NewTestProducer returns a new TestProducer.
ReceivePieceEvent returns an event for a piece received from a peer.
RequestPieceEvent returns an event for a piece request sent to a peer.
Sort sorts events in place by timestamp.
StripTimestamps overwrites timestamps in events as empty, allowing clients to check equality of events.
TorrentCancelledEvent returns an event for a cancelled torrent.
TorrentCompleteEvent returns an event for a completed torrent.
# Constants
Possible event names.
Possible event names.
Possible event names.
Possible event names.
Possible event names.
Possible event names.
Possible event names.
Possible event names.
# Structs
Config defines network event configuration.
Event consolidates all possible event fields.
TestProducer records all produced events.
# Interfaces
Producer emits events.
# Type aliases
Name defines event names.