Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Ping(ctx context.Context, addr netip.AddrPort) (PingResult, error) FindNode(ctx context.Context, addr netip.AddrPort, target protocol.ID) (FindNodeResult, error) GetPeers(ctx context.Context, addr netip.AddrPort, infoHash protocol.ID) (GetPeersResult, error) GetPeersScrape(ctx context.Context, addr netip.AddrPort, infoHash protocol.ID) (GetPeersScrapeResult, error) SampleInfoHashes(ctx context.Context, addr netip.AddrPort, target protocol.ID) (SampleInfoHashesResult, error) }
type FindNodeResult ¶
type GetPeersResult ¶
type GetPeersScrapeResult ¶
type PingResult ¶
Click to show internal directories.
Click to hide internal directories.