package
1.4.3
Repository: https://github.com/hduhelp/go-zero.git
Documentation: pkg.go.dev

# Functions

Authorize returns an authorization middleware.
BreakerHandler returns a break circuit middleware.
ContentSecurityHandler returns a middleware to verify content security.
CryptionHandler returns a middleware to handle cryption.
DetailedLogHandler returns a middleware that logs http request and response in details.
DontTraceSpan disable tracing for the specified span name.
GunzipHandler returns a middleware to gunzip http request body.
LogHandler returns a middleware that logs http request and response.
MaxBytesHandler returns a middleware that limit reading of http request body.
MaxConns returns a middleware that limit the concurrent connections.
MetricHandler returns a middleware that stat the metrics.
PrometheusHandler returns a middleware that reports stats to prometheus.
RecoverHandler returns a middleware that recovers if panic happens.
SetSlowThreshold sets the slow threshold.
SheddingHandler returns a middleware that does load shedding.
TimeoutHandler returns the handler with given timeout.
TracingHandler return a middleware that process the opentelemetry.
WithPrevSecret returns an AuthorizeOption with setting previous secret.
WithUnauthorizedCallback returns an AuthorizeOption with setting unauthorized callback.

# Structs

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
UnsignedCallback defines the method of the unsigned callback.