Documentation ¶
Index ¶
Constants ¶
View Source
const InterceptorDebugger = "interceptor debugger"
InterceptorDebugger is the constant string for the debugger
Variables ¶
View Source
var ErrNilInterceptorContainer = errors.New("nil interceptor container")
ErrNilInterceptorContainer signals that a nil interceptor container has been provided
View Source
var ErrNilNodeWrapper = errors.New("nil node wrapper")
ErrNilNodeWrapper signals that a nil node wrapper has been provided
View Source
var ErrNilRequestersContainer = errors.New("nil requesters container")
ErrNilRequestersContainer signals that a nil requesters container has been provided
View Source
var ErrNilResolverContainer = errors.New("nil resolver container")
ErrNilResolverContainer signals that a nil resolver container has been provided
Functions ¶
func CreateInterceptedDebugHandler ¶
func CreateInterceptedDebugHandler( node NodeWrapper, interceptors process.InterceptorsContainer, resolvers dataRetriever.ResolversContainer, requesters dataRetriever.RequestersContainer, config config.InterceptorResolverDebugConfig, ) error
CreateInterceptedDebugHandler creates and applies an interceptor-resolver debug handler
Types ¶
type NodeWrapper ¶
type NodeWrapper interface { AddQueryHandler(name string, handler debug.QueryHandler) error IsInterfaceNil() bool }
NodeWrapper is the interface that defines the behavior of a Node that can work with debug handlers
Click to show internal directories.
Click to hide internal directories.