Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracer ¶
type Tracer interface { MessageReceived(peer.ID, bsmsg.BitSwapMessage) MessageSent(peer.ID, bsmsg.BitSwapMessage) }
Tracer provides methods to access all messages sent and received by Bitswap. This interface can be used to implement various statistics (this is original intent).
Click to show internal directories.
Click to hide internal directories.