nodeDebugFactory

package
v1.6.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL