Documentation ¶
Index ¶
- Variables
- func StreamServerInterceptor(logger zap.Logger) grpc.StreamServerInterceptor
- func StreamServerInterceptorWithRequestID(logger zap.Logger) grpc.StreamServerInterceptor
- func UnaryServerInterceptor(logger zap.Logger) grpc.UnaryServerInterceptor
- func UnaryServerInterceptorWithRequestID(logger zap.Logger) grpc.UnaryServerInterceptor
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultMethodKey = "method"
View Source
var DefaultRequestIDKey = "requestid"
Functions ¶
func StreamServerInterceptor ¶
func StreamServerInterceptor(logger zap.Logger) grpc.StreamServerInterceptor
func StreamServerInterceptorWithRequestID ¶
func StreamServerInterceptorWithRequestID(logger zap.Logger) grpc.StreamServerInterceptor
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(logger zap.Logger) grpc.UnaryServerInterceptor
func UnaryServerInterceptorWithRequestID ¶
func UnaryServerInterceptorWithRequestID(logger zap.Logger) grpc.UnaryServerInterceptor
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.