Documentation
¶
Index ¶
- func CorsMiddleware(next http.Handler) http.Handler
- func JWT(servers config.Servers, pathValueName string) func(http.Handler) http.Handler
- func Logging(next http.Handler) http.Handler
- func MCPServerApp(servers config.Servers, pathValueName string) func(next http.HandlerFunc) http.HandlerFunc
- func ProtectedResourceMetadataURL(r *http.Request) string
- func Recover(h http.Handler) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MCPServerApp ¶
func MCPServerApp( servers config.Servers, pathValueName string, ) func(next http.HandlerFunc) http.HandlerFunc
func ProtectedResourceMetadataURL ¶ added in v1.8.0
ProtectedResourceMetadataURL builds the RFC 9728 resource metadata URL for r's host/scheme, used as the WWW-Authenticate challenge's resource_metadata parameter (RFC 6750) on a 401.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.