package
Version:
v1.2.4
Opens a new window with list of versions in this module.
Published: May 6, 2016
License: Apache-2.0, Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Frame struct {
File string
Function string
Package string
Line int
}
Frame contains all the information for a stack frame within a go program
func NewFrame(pc uintptr, file string, line int) Frame
NewFrame returns a new stack frame for the provided information
type Stacktrace struct {
Frames []Frame
}
func Capture(userSkip int) Stacktrace
Caputure captures a stacktrace for the current calling go program
skip is the number of frames to skip
Source Files
¶
Click to show internal directories.
Click to hide internal directories.