package
2.0.0+incompatible
Repository: https://github.com/azdbaaaaaa/util.git
Documentation: pkg.go.dev

# Functions

StreamClientInterceptor returns a new streaming client interceptor that optionally logs the execution of external gRPC calls.
StreamServerInterceptor returns a new streaming server interceptor that adds zap.Logger to the context.
UnaryClientInterceptor returns a new unary client interceptor that optionally logs the execution of external gRPC calls.
UnaryServerInterceptor returns a new unary server interceptors that adds zap.Logger to the context.

# Variables

ClientField is used in every client-side log statement made through grpc_zap.
ServerField is used in every server-side log statement made through grpc_zap.Can be overwritten before initialization.
SystemField is used in every log statement made through grpc_zap.