Documentation ¶
Index ¶
- func Authentication(excludedMethods []string) grpc.UnaryServerInterceptordeprecated
- func ErrorHandler(mapErrCodes map[error]codes.Code) grpc.UnaryServerInterceptordeprecated
- func Logger(l *zap.Logger) grpc.UnaryServerInterceptordeprecated
- func Recovery(l *zap.Logger) grpc.UnaryServerInterceptordeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authentication
deprecated
func Authentication(excludedMethods []string) grpc.UnaryServerInterceptor
Deprecated: Use `interceptor/authentication` instead.
func ErrorHandler
deprecated
func ErrorHandler(mapErrCodes map[error]codes.Code) grpc.UnaryServerInterceptor
Deprecated: use logging module instead. ErrorHandler handles proper error codes & messages so the error details won't be thrown to grpc client. e.g sql errors, pointer errors, marshall errors etc.
func Logger
deprecated
func Logger(l *zap.Logger) grpc.UnaryServerInterceptor
Deprecated: Use `interceptor/logger` instead.
func Recovery
deprecated
func Recovery(l *zap.Logger) grpc.UnaryServerInterceptor
Deprecated: Use `interceptor/recovery` instead.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.