Documentation
¶
Overview ¶
Package cachehints applies SEP-2549 cache hints (ttlMs/cacheScope) to MCP results. Every catalog in this server is token- and tier-dependent (PAT scope filtering, licensing-tier gating), so all cacheable results are marked "private": shared intermediaries must never serve one user's catalog to another. TTLs distinguish stable catalogs from live GitLab data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware() mcp.Middleware
Middleware returns a receiving middleware that stamps cache hints on every CacheableResult according to the package policy.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.