nodeDebugFactory

package
v1.8.7 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: GPL-3.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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