Documentation ¶
Index ¶
- Variables
- func GrpcMessageProducer(ctx context.Context, msg string, level zapcore.Level, err error, ...)
- func GrpcRecoveryHandlerFunc(ctx context.Context, p interface{}) (err error)
- func PayloadStreamClientInterceptor(zapLogger *bzap.ZapLogger) grpc.StreamClientInterceptor
- func PayloadStreamServerInterceptor(zapLogger *bzap.ZapLogger) grpc.StreamServerInterceptor
- func PayloadUnaryClientInterceptor(zapLogger *bzap.ZapLogger) grpc.UnaryClientInterceptor
- func PayloadUnaryServerInterceptor(zapLogger *bzap.ZapLogger) grpc.UnaryServerInterceptor
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GrpcMessageProducer ¶
func GrpcRecoveryHandlerFunc ¶
func PayloadStreamClientInterceptor ¶
func PayloadStreamClientInterceptor(zapLogger *bzap.ZapLogger) grpc.StreamClientInterceptor
PayloadStreamClientInterceptor 流拦截器,用于记录客户端请求和响应
func PayloadStreamServerInterceptor ¶
func PayloadStreamServerInterceptor(zapLogger *bzap.ZapLogger) grpc.StreamServerInterceptor
PayloadStreamServerInterceptor 流拦截器,用于记录服务端请求和响应
func PayloadUnaryClientInterceptor ¶
func PayloadUnaryClientInterceptor(zapLogger *bzap.ZapLogger) grpc.UnaryClientInterceptor
PayloadUnaryClientInterceptor 一元拦截器,用于记录客户端端请求和响应
func PayloadUnaryServerInterceptor ¶
func PayloadUnaryServerInterceptor(zapLogger *bzap.ZapLogger) grpc.UnaryServerInterceptor
PayloadUnaryServerInterceptor 一元服务器拦截器,用于记录服务端请求和响应
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.