Help us shape the future of Go! Take the 2026 Go Developer Survey

debug

package
v1.19.9 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

Parser is a parser for debug payloads

func New

func New(log *slog.Logger, endpointGetter getters.EndpointGetter, opts ...options.Option) (*Parser, error)

New creates a new parser

func (*Parser) Decode

func (p *Parser) Decode(data []byte, cpu int) (*flowpb.DebugEvent, error)

Decode takes the a debug event payload obtained from the perf event ring buffer and decodes it

Jump to

Keyboard shortcuts

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