package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Jun 16, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package cache provides a simple in-memory TTL cache for transcript segments.
Cache stores transcript segments keyed by video_id:lang with a TTL.
New returns a Cache with the given TTL.
Get returns the cached segments and true, or nil,false if missing or expired.
Set stores segments under key with the cache's TTL.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.