package
0.0.0-20240716132614-1643519e6f91
Repository: https://github.com/triggermail/luci-go.git
Documentation: pkg.go.dev

# Functions

MemLocker returns a Locker instance that uses a memcache lock bound to the current request ID.

# Constants

DefaultCacheNamespace is the default datastore namespace for cache entries.

# Variables

ErrDeleteCacheEntry is a sentinel error value that, if returned from a Handler's Refresh function, indicates that the cache key that is being refreshed is not necessary and should be deleted.
ErrFailedToLock is a sentinel error returned by Locker.TryWithLock if the lock is already held by another entity.

# Structs

Cache defines a generic basic datastore cache.
Value is a cached value.

# Interfaces

Handler is a cache handler for a specific type of data.
Locker is an interface to a generic locking function.