# Functions
No description provided by the author
No description provided by the author
No description provided by the author
Intercepts the request and calculates the total run time from start to finish.
NewErrorDTO returns a new ErrorDTO.
Recoverer is an interceptor that recovers from panics, logs the panic (and the stacktrace), and returns a HTTP 500 (Internal Server Error) status if possible.
Strips 'Bearer ' prefix from bearer token string.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
ServiceConfig contains the ServiceID and Environment values of the application that uses Middleware to secure access to endpoints.
# Type aliases
MiddlewareChain is a collection of interceptors that will be invoked in there index order.
MiddlewareHandlerFunc builds on top of http.HandlerFunc, and exposes API to intercept with MiddlewareInterceptor.
MiddlewareInterceptor intercepts an HTTP handler invocation, it is passed both response writer and request which after interception can be passed onto the handler function.
Interface used to execute SecurityTokenInterceptor url filtering for authorization.