Versions in this module Expand all Collapse all v0 v0.1.0 Dec 19, 2023 Changes in this version + type Crawler interface + Run func(ctx context.Context, startingPeers []*peer.AddrInfo, ...) + type DefaultCrawler struct + func NewDefaultCrawler(host host.Host, opts ...Option) (*DefaultCrawler, error) + func (c *DefaultCrawler) Run(ctx context.Context, startingPeers []*peer.AddrInfo, ...) + type HandleQueryFail func(p peer.ID, err error) + type HandleQueryResult func(p peer.ID, rtPeers []*peer.AddrInfo) + type Option func(*options) error + func WithConnectTimeout(timeout time.Duration) Option + func WithDialAddrExtendDuration(ext time.Duration) Option + func WithMsgTimeout(timeout time.Duration) Option + func WithParallelism(parallelism int) Option + func WithProtocols(protocols []protocol.ID) Option