Documentation
¶
Overview ¶
Package middleware provides HTTP middleware for the MCP Kubernetes server. These middleware functions handle security headers, CORS, and other cross-cutting concerns.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SecurityHeaders ¶
SecurityHeaders adds comprehensive security headers to all HTTP responses
func ValidateAllowedOrigins ¶
ValidateAllowedOrigins validates and normalizes allowed CORS origins
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.