Documentation
¶
Overview ¶
Package http provides HTTP middleware for the MCP data platform.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
AuthMiddleware extracts authentication tokens from HTTP headers and adds them to the request context. This middleware should be applied to SSE handlers to enable HTTP-level authentication.
func OptionalAuth ¶
OptionalAuth returns middleware that allows anonymous requests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.