Module routes

Module routes 

Source
Expand description

Admin API route handlers.

This module provides the HTTP endpoint handlers for the admin API. Note: Full Axum integration would be feature-gated. This provides the core logic that can be wrapped by any HTTP framework.

Structs§

CacheStats
ErrorResponse
Error response.
HealthResponse
Health check response.
HotKeyEntry
HotKeysResponse
Hot keys response.
InvalidationRequest
Invalidation request.
InvalidationResponse
Invalidation response.
StatsResponse
Statistics response.
TagsResponse
Tags list response.

Functions§

handle_health
Handles health check requests.
handle_hot_keys
Handles hot keys requests.
handle_invalidate
Handles invalidation requests.
handle_list_tags
Handles tag listing requests.
handle_stats
Handles statistics requests.
validate_auth
Validates authentication for admin requests.