debug

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2020 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallerInfo

type CallerInfo struct {
	File string
	Line int
	Func string
}

func GetCaller

func GetCaller(skip int) *CallerInfo

获取调用信息 (单条)

func GetCallers

func GetCallers(skip int, limit int) []*CallerInfo

获取调用信息 (多条)

type Prof

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

性能分析

func NewProf

func NewProf(log *logger.Helper, label ...string) *Prof

func (*Prof) Result

func (p *Prof) Result()

Jump to

Keyboard shortcuts

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