Documentation
¶
Overview ¶
Package internal implements panicparse
It is mostly useful on servers will large number of identical goroutines, making the crash dump harder to read than strictly necessary.
Colors:
- Magenta: first goroutine to be listed.
- Yellow: main package.
- Green: standard library.
- Red: other packages.
Bright colors are used for exported symbols.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Palette ¶
type Palette struct {
EOLReset string
// Routine header.
RoutineFirst string // The first routine printed.
Routine string // Following routines.
CreatedBy string
Race string
// Call line.
Package string
SrcFile string
FuncMain string
FuncLocationUnknown string
FuncLocationUnknownExported string
FuncGoMod string
FuncGoModExported string
FuncGOPATH string
FuncGOPATHExported string
FuncGoPkg string
FuncGoPkgExported string
FuncStdLib string
FuncStdLibExported string
Arguments string
}
Palette defines the color used.
An empty object Palette{} can be used to disable coloring.
func (*Palette) BucketHeader ¶
BucketHeader prints the header of a goroutine signature.
Click to show internal directories.
Click to hide internal directories.