Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider func() []byte
Package stack provides an abstraction for capturing and formatting stack traces in Go. It defines a Provider type, which is a function that returns a byte slice representing the stack trace. This allows for flexibility in how stack traces are captured and formatted, enabling users to implement custom stack providers or use existing ones, such as the debug package's Stack function.
Click to show internal directories.
Click to hide internal directories.