Documentation ¶
Index ¶
- type Redis
- func (r *Redis[K, V]) Clear(ctx context.Context)
- func (r *Redis[K, V]) Get(ctx context.Context, key K) (V, bool)
- func (r *Redis[K, V]) GetOrProvide(ctx context.Context, key K, valueProvider sweet.ValueProvider[K, V]) (V, bool)
- func (r *Redis[K, V]) GetOrProvideAsync(ctx context.Context, key K, valueProvider sweet.ValueProvider[K, V], ...) (V, bool)
- func (r *Redis[K, V]) Remove(ctx context.Context, key K)
- type RedisClientErrorsMonitoring
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis[K comparable, V any] struct { // contains filtered or unexported fields }
func (*Redis[K, V]) GetOrProvide ¶
func (*Redis[K, V]) GetOrProvideAsync ¶
Click to show internal directories.
Click to hide internal directories.