xdebug

package
v0.0.0-...-89edfd8 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump

func Dump(style DumpStyle, data ...interface{}) []byte

Dump data.

func GODEBUG

func GODEBUG(name, defaultValue string) string

Get setting value in GODEBUG variable by name. If setting not exists, returns defaultValue. See GODEBUG environment variable description in http://golang.org/pkg/runtime/

func GODEBUGDATA

func GODEBUGDATA() map[string]string

Types

type DumpStyle

type DumpStyle struct {
	HeadLen      int
	Pointer      bool
	Format       bool
	Indent       string
	StructFilter func(string, string) bool
}

Dump style.

type StackFrame

type StackFrame struct {
	Name string
	File string
	Line int
}

type StackInfo

type StackInfo []uintptr

func StackTrace

func StackTrace(skip int) StackInfo

See runtime/debug.Stack()

func (StackInfo) Bytes

func (si StackInfo) Bytes(indent string) []byte

func (StackInfo) Frames

func (si StackInfo) Frames() []StackFrame

func (StackInfo) String

func (si StackInfo) String(indent string) string

Jump to

Keyboard shortcuts

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