package
0.38.0-preview.0
Repository: https://github.com/onflow/flow-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ConvertError converts a generic error into a grpc status error.
ConvertIndexError converts errors related to index and storage to appropriate gRPC status errors.
ConvertMultiError converts a multierror to a grpc status error.
ConvertStorageError converts a generic error into a grpc status error, converting storage errors into codes.NotFound.
InterceptorLogger adapts zerolog logger to interceptor logger.
LoggingInterceptor creates the logging interceptors to log incoming GRPC request and response (minus the payload body).
NewRateLimiterInterceptor creates a new rate limiter interceptor with the defined per second rate limits and the optional burst limit for each API.