package
0.24.2
Repository: https://github.com/nickhstr/goweb.git
Documentation: pkg.go.dev

# Packages

Package redis provides a wrapper around github.com/go-redis/redis, specifically to satisfy the cache.Cacher interface.

# Functions

ContextWithNoCache creates a new context with the no cache key/value added to the parent context.
Default returns the default Cacher.
Key formats a slice of string arguments in a uniform, standard manner.
NewNoop returns a new Noop Cacher.
NewPrefixedCacher returns a new PrefixedCacher instance.
UseCache reports whether or not we can attempt to get data from the cache.

# Variables

No description provided by the author

# Structs

Noop provides a no-op Cacher, useful for testing or other environments where a real Cacher cannot be used.
PrefixedCacher wraps a Cacher, and prefixes all cache keys.

# Interfaces

Cacher defines the methods of any cache client.