package
0.14.1
Repository: https://github.com/element-hq/dendrite.git
Documentation: pkg.go.dev

# Functions

New is a wrapper which calls NewWithCleanupPeriod with DefaultCleanupPeriod as argument.
NewWithCleanupPeriod creates a new Cache object, starts cacheCleanService.

# Constants

DefaultCleanupPeriod represents the default time duration after which cacheCleanService runs.

# Structs

Cache represents a temporary store for response entries.
CacheKey is the type for the key in a transactions cache.