Skip to main content

Crate shiplog_cache

Crate shiplog_cache 

Source
Expand description

Public facade for shiplog cache APIs.

Cache key construction, expiry semantics, statistics normalization, and the SQLite-backed API cache live here as module-level implementation seams.

Modules§

expiry
Canonical cache-expiry helpers for shiplog cache implementations.

Structs§

ApiCache
Cache for API responses backed by a local SQLite database.
CacheInspection
Detailed cache inspection data for CLI and diagnostics.
CacheKey
Cache key builder for API requests.
CacheStats
Cache statistics exposed by shiplog caches.

Enums§

CacheLookup
Result of looking up a cache entry without hiding expired rows.

Constants§

BYTES_PER_MEGABYTE
Byte size used to compute whole-megabyte cache reports.