Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FuncInfoExport ¶
type FuncInfoExport struct {
// FullName string
Kind FuncKind
Pkg string
IdentityName string
Name string
RecvType string
RecvPtr bool
// interface method?
Interface bool
Generic bool
Closure bool
Stdlib bool
File string
Line int
RecvName string
ArgNames []string
ResNames []string
// is first argument ctx
FirstArgCtx bool
// last last result error
LastResultErr bool
}
type RootExport ¶
type RootExport struct {
// current executed function
Begin time.Time
Children []*StackExport
}
type StackExport ¶
type StackExport struct {
FuncInfo *FuncInfoExport
Begin int64 // us
End int64 // us
Args interface{}
Results interface{}
// is recorded as snapshot
Snapshot bool
Panic bool
Error string
Children []*StackExport
}
Click to show internal directories.
Click to hide internal directories.