package
0.0.0-20241130001046-e13ab8da91b6
Repository: https://github.com/foundation-go/foundation.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
IncomingHeaderMatcher is the default incoming header matcher for the gateway.
No description provided by the author
NewLoggingResponseWriter creates a new loggingResponseWriter that wraps the provided http.ResponseWriter.
OutgoingHeaderMatcher is the default outgoing header matcher for the gateway.
No description provided by the author
WithAuthentication is a middleware that forces the request to be authenticated.
WithAuthenticationDetails is a middleware that fetches the authentication details using the given authentication function.
WithCORSEnabled is a middleware that enables CORS for the given handler.
WithHydraAuthenticationDetails is a middleware that fetches the authentication details using ORY Hydra.
No description provided by the author

# Structs

AuthenticationResult is the result of an authentication.
CORSOptions represents the options for CORS.
LoggingResponseWriter is an http.ResponseWriter that tracks the status code of the response.
No description provided by the author
Service represents a gRPC service that can be registered with the gateway.

# Type aliases

AuthenticationHandler is a function that authenticates the request.