package
0.0.0-20220412220916-5ea02083e3ec
Repository: https://github.com/riteshrch/go-edge-device-lib.git
Documentation: pkg.go.dev

# Functions

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

# Constants

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.

# 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.