Versions in this module Expand all Collapse all v0 v0.7.11 May 13, 2020 Changes in this version + const ProvidersKeyPrefix + type Option func(*ProviderManager) error + func Cache(c lru.LRUCache) Option + func CleanupInterval(d time.Duration) Option v0.2.2 Sep 12, 2019 Changes in this version + var ProvideValidity = time.Hour * 24 + type ProviderManager struct + func NewProviderManager(ctx context.Context, local peer.ID, dstore ds.Batching) *ProviderManager + func (pm *ProviderManager) AddProvider(ctx context.Context, k cid.Cid, val peer.ID) + func (pm *ProviderManager) GetProviders(ctx context.Context, k cid.Cid) []peer.ID + func (pm *ProviderManager) Process() goprocess.Process