Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInterceptorManager ¶
func NewInterceptorManager(logger logger.IAppLogger, metricsCb GrpcMetricsCb) *interceptorManager
NewInterceptorManager InterceptorManager constructor
Types ¶
type GrpcMetricsCb ¶
type GrpcMetricsCb func(err error)
type InterceptorManager ¶
type InterceptorManager interface { Logger( ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler, ) (resp interface{}, err error) ClientRequestLoggerInterceptor() func( ctx context.Context, method string, req interface{}, reply interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption, ) error }
Click to show internal directories.
Click to hide internal directories.