Versions in this module Expand all Collapse all v0 v0.23.5 Nov 8, 2022 Changes in this version + type DiscoveryRouting struct + func NewDiscoveryRouting(disc discovery.Discovery, opts ...discovery.Option) *DiscoveryRouting + func (r *DiscoveryRouting) FindProvidersAsync(ctx context.Context, c cid.Cid, limit int) <-chan peer.AddrInfo + func (r *DiscoveryRouting) Provide(ctx context.Context, c cid.Cid, bcast bool) error + type RoutingDiscovery struct + func NewRoutingDiscovery(router routing.ContentRouting) *RoutingDiscovery + func (d *RoutingDiscovery) Advertise(ctx context.Context, ns string, opts ...discovery.Option) (time.Duration, error) + func (d *RoutingDiscovery) FindPeers(ctx context.Context, ns string, opts ...discovery.Option) (<-chan peer.AddrInfo, error)