Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FailedToGetOutgoingContextError = status.Error( codes.Internal, "failed to get outgoing context", ) )
Functions ¶
This section is empty.
Types ¶
type Interceptor ¶
type Interceptor struct {
// contains filtered or unexported fields
}
Interceptor is the interceptor for the debug
func NewInterceptor ¶
func NewInterceptor(logger Logger) *Interceptor
NewInterceptor creates a new debug interceptor
func (*Interceptor) PrintOutgoingCtx ¶
func (i *Interceptor) PrintOutgoingCtx() grpc.UnaryClientInterceptor
PrintOutgoingCtx prints the outgoing context
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger is the logger for the outgoing context debugger
func NewLogger ¶
func NewLogger(logger commonlogger.Logger) Logger
NewLogger is the logger for the outgoing context debugger
func (Logger) LogKeyValue ¶
LogKeyValue logs the key value
type OutgoingCtxDebugger ¶
type OutgoingCtxDebugger interface {
PrintOutgoingCtx() grpc.UnaryClientInterceptor
}
OutgoingCtxDebugger interface
Click to show internal directories.
Click to hide internal directories.