package
0.1.1-rc
Repository: https://github.com/ibm/ffdl.git
Documentation: pkg.go.dev

# Functions

DefaultAfter is the default func assigned to *Middleware.After.
DefaultBefore is the default func assigned to *Middleware.Before.
NewAuthMiddleware creates a new http.Handler that adds authentication logic to a given Handler.
NewLoggingMiddleware returns a new *Middleware.
NewResponseWriter creates a ResponseWriter that wraps an http.ResponseWriter.

# Constants

UserIDHeader is the name of the HTTP header used to identify the user.

# Structs

AuthOptions for the auth middleware.
Middleware is a middleware handler that logs the request as it goes in and the response as it goes out.

# Interfaces

ResponseWriter is a wrapper around http.ResponseWriter that provides extra information about the response.

# Type aliases

AfterFunc is the func type used to modify or replace the *logrus.Entry after calling the next func in the middleware chain.
BeforeFunc is the func type used to modify or replace the *logrus.Entry prior to calling the next func in the middleware chain.