nodeDebugFactory

package
v1.0.144 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const InterceptorResolverDebugger = "interceptor resolver debugger"

InterceptorResolverDebugger is the contant 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 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.ResolversFinder,
	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