package
1.3.9
Repository: https://github.com/qkbyte/go-zero.git
Documentation: pkg.go.dev

# Functions

DontLogContentForMethod disable logging content for given method.
SetSlowThreshold sets the slow threshold.
StreamAuthorizeInterceptor returns a func that uses given authenticator in processing stream requests.
StreamBreakerInterceptor is an interceptor that acts as a circuit breaker.
StreamCrashInterceptor catches panics in processing stream requests and recovers.
StreamTracingInterceptor returns a grpc.StreamServerInterceptor for opentelemetry.
UnaryAuthorizeInterceptor returns a func that uses given authenticator in processing unary requests.
UnaryBreakerInterceptor is an interceptor that acts as a circuit breaker.
UnaryCrashInterceptor catches panics in processing unary requests and recovers.
UnaryPrometheusInterceptor reports the statistics to the prometheus server.
UnarySheddingInterceptor returns a func that does load shedding on processing unary requests.
UnaryStatInterceptor returns a func that uses given metrics to report stats.
UnaryTimeoutInterceptor returns a func that sets timeout to incoming unary requests.
UnaryTracingInterceptor is a grpc.UnaryServerInterceptor for opentelemetry.