stack

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: MIT Imports: 0 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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