Documentation
¶
Overview ¶
Package cache provides the caching service for the Gas ecosystem with in-memory and Valkey (Redis-compatible) backends. Concrete implementations live in the memory and valkey sub-packages.
See the module README for usage examples and design rationale.
SPDX-License-Identifier: MIT
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrKeyNotFound is returned by Get when the requested key does not // exist or has expired. ErrKeyNotFound = errors.New("cache: key not found") // ErrClosed is returned when an operation is attempted on a closed // cache service. ErrClosed = errors.New("cache: service is closed") )
Sentinel errors returned by CacheProvider implementations.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.