debugging

package
v0.0.0-...-9799ab4 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DebugTools

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

func NewDebugTools

func NewDebugTools(options *DebugToolsOptions) (*DebugTools, error)

func (*DebugTools) HeapDump

func (self *DebugTools) HeapDump() (string, error)

func (*DebugTools) LogList

func (self *DebugTools) LogList() ([]string, error)

func (*DebugTools) LogRemove

func (self *DebugTools) LogRemove(filename string) error

func (*DebugTools) LogSize

func (self *DebugTools) LogSize(filename string) (int64, error)

func (*DebugTools) LogSlice

func (self *DebugTools) LogSlice(filename string, index, size int64) ([]byte, error)

func (*DebugTools) StartCPUProfile

func (self *DebugTools) StartCPUProfile() (string, error)

func (*DebugTools) StopCPUProfile

func (self *DebugTools) StopCPUProfile()

func (*DebugTools) WriteHeapProfile

func (self *DebugTools) WriteHeapProfile() (string, error)

type DebugToolsOptions

type DebugToolsOptions struct {
	LogsDir       string
	ComponentName string
}

Jump to

Keyboard shortcuts

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