http-middlewares
http middleware fot net/http
middleware
- authj is an authorization middleware, it's based on casbin
- gzap is gzap provides log handling using zap package.
- nocache noCache is a simple piece of middleware that sets a number of HTTP headers to prevent a router (or subrouter) from being cached by an upstream proxy and/or client.
- requestid is a middleware that injects a request ID into the context of each request.
- traceid traceid is a middleware that injects a trace ID into the context of each request. A trace ID is a string of uuid.
mids
helper
Donation
if package help you a lot,you can support us by:
Alipay
WeChat Pay