debug

package
v1.3.36-static-trie-db Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidValue = errors.New("invalid value")

ErrInvalidValue signals that the provided value is invalid

Functions

This section is empty.

Types

type GoRoutineHandler added in v1.2.5

type GoRoutineHandler interface {
	ID() string
	FirstOccurrence() time.Time
	StackTrace() string
}

GoRoutineHandler contains go routine information

type GoRoutineHandlerMap added in v1.2.5

type GoRoutineHandlerMap = map[string]GoRoutineHandler

GoRoutineHandlerMap represents an alias of a map of goroutineHandlers

type GoRoutinesProcessor added in v1.2.5

type GoRoutinesProcessor interface {
	ProcessGoRoutineBuffer(previousData map[string]GoRoutineHandlerMap, buffer *bytes.Buffer) map[string]GoRoutineHandlerMap
	IsInterfaceNil() bool
}

GoRoutinesProcessor is a component that can extract go routines from a buffer

type QueryHandler

type QueryHandler interface {
	Query(search string) []string
	Close() error
	IsInterfaceNil() bool
}

QueryHandler defines the behavior of a queryable debug handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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