Documentation ¶
Index ¶
- func ErrorConverterUnaryServer(ctx context.Context, in any, _ *grpc.UnaryServerInfo, ...) (any, error)
- func LoggerUnaryServer(logger *zap.Logger) grpc.UnaryServerInterceptor
- func NopUnaryServerInterceptor(ctx context.Context, in any, _ *grpc.UnaryServerInfo, ...) (any, error)
- func ValidatorUnaryServer(v *protovalidate.Validator) grpc.UnaryServerInterceptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorConverterUnaryServer ¶ added in v0.8.60
func ErrorConverterUnaryServer( ctx context.Context, in any, _ *grpc.UnaryServerInfo, handler grpc.UnaryHandler, ) ( any, error, )
func LoggerUnaryServer ¶
func LoggerUnaryServer(logger *zap.Logger) grpc.UnaryServerInterceptor
func NopUnaryServerInterceptor ¶ added in v0.7.10
func NopUnaryServerInterceptor( ctx context.Context, in any, _ *grpc.UnaryServerInfo, handler grpc.UnaryHandler, ) ( any, error, )
func ValidatorUnaryServer ¶
func ValidatorUnaryServer(v *protovalidate.Validator) grpc.UnaryServerInterceptor
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.