Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerInterceptor ¶
type LoggerInterceptor struct {
// contains filtered or unexported fields
}
func NewLoggerInterceptor ¶
func NewLoggerInterceptor(logger *zap.Logger) *LoggerInterceptor
type RateLimitInterceptor ¶ added in v0.0.14
type RateLimitInterceptor struct {
// contains filtered or unexported fields
}
RateLimitInterceptor 流控拦截器
func NewRateLimitInterceptor ¶ added in v0.0.14
func NewRateLimitInterceptor(logger *zap.Logger, rateLimit int32) *RateLimitInterceptor
type RecoverInterceptor ¶
type RecoverInterceptor struct {
// contains filtered or unexported fields
}
func NewRecoverInterceptor ¶
func NewRecoverInterceptor(logger *zap.Logger) *RecoverInterceptor
Click to show internal directories.
Click to hide internal directories.