package
0.1.0
Repository: https://github.com/bpfs/dep2p.git
Documentation: pkg.go.dev

# Functions

Cache sets the LRU cache implementation.
CleanupInterval sets the time between GC runs.
NewProviderManager constructor.

# Constants

ProviderAddrTTL is the TTL to keep the multi addresses of provider peers around.
ProvidersKeyPrefix is the prefix/namespace for ALL provider record keys stored in the data store.

# Variables

ProvideValidity is the default time that a Provider Record should last on DHT This value is also known as Provider Record Expiration Interval.

# Structs

ProviderManager adds and pulls providers out of the datastore, caching them in between.

# Interfaces

ProviderStore represents a store that associates peers and their addresses to keys.

# Type aliases

Option is a function that sets a provider manager option.