Documentation
¶
Overview ¶
Package api implements the web panel's backend REST API, mounted under /api. It exposes: auth check, config get/update, summary stats, hourly series, model usage, latency percentiles, and the request log + detail.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetInvalidateCache ¶ added in v1.1.0
func SetInvalidateCache(fn func())
SetInvalidateCache wires the cache-invalidation callback from the server package (avoids an api → server import cycle). Called after key mutations.
Types ¶
Click to show internal directories.
Click to hide internal directories.