cachehints

package
v2.6.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2026 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL