Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RateLimit syncx.Limit
Functions ¶
func ErrorHandler ¶ added in v0.15.0
func GrpcRateLimitInterceptors ¶
func GrpcRateLimitInterceptors(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)
func PrintLogToConsole ¶
func WrapResponse ¶
func WrapResponse(next http.HandlerFunc) http.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.