package
2.1.0+incompatible
Repository: https://github.com/thethingsnetwork/go-account-lib.git
Documentation: pkg.go.dev

# Functions

ConstCache creates a Cache that always returns the same data.
FileCache returns a cache that stores keys on filesystem.
FileCacheWithFormat creates a FileCache that uses a format string to generate filenames.
FileCacheWithNameFn creates a FileCache that has a custom function to generate filenames.
MemoryCache returns a cache that stores keys in memory.
WriteTroughCache creates a cache that stores keys in memory and uses disk as fallback.
WriteTroughCacheWithFormat creates a cache that stores keys in memory and uses disk as fallback and that generates filenames based on the format.
WriteTroughCacheWithNameFn creates a cache that stores keys in memory and uses disk as fallback.

# Variables

EmptyCache represents a cache that never stores anything.

# Interfaces

Cache represents a cache.