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 rate limit interceptor
func NewRateLimitInterceptor ¶ added in v0.0.14
func NewRateLimitInterceptor(logger *zap.Logger, rateLimit int32) *RateLimitInterceptor
NewRateLimitInterceptor new rate limit interceptor
Click to show internal directories.
Click to hide internal directories.