Versions in this module Expand all Collapse all v0 v0.12.4 Jun 12, 2021 v0.12.3 Jun 12, 2021 Changes in this version + type Crawler struct + func New(host host.Host, opts ...Option) (*Crawler, error) + func (c *Crawler) 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 WithMsgTimeout(timeout time.Duration) Option + func WithParallelism(parallelism int) Option + func WithProtocols(protocols []protocol.ID) Option