package
2.2.1+incompatible
Repository: https://github.com/goharbor/harbor.git
Documentation: pkg.go.dev

# Packages

# Functions

AfterResponse make a middleware which will call hook after the next handler.
BeforeRequest make a middleware which will call hook before the next handler.
Chain make middlewares together.
MethodAndPathSkipper returns skipper which will skip the middleware when r.Method equals the method and r.URL.Path matches the re when method is "*" it equals all http method.
NegativeSkipper returns skipper which is negative of the input skipper.
New make a middleware from fn which type is func(w http.ResponseWriter, r *http.Request, next http.Handler).
WithMiddlewares apply the middlewares to the handler.

# Type aliases

Middleware receives a handler and returns another handler.
Skipper defines a function to skip middleware.