debug

package
v1.7.7 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 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

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

GoRoutineHandler contains go routine information

type GoRoutineHandlerMap

type GoRoutineHandlerMap = map[string]GoRoutineHandler

GoRoutineHandlerMap represents an alias of a map of goroutineHandlers

type GoRoutinesProcessor

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