stack

package
v27.0.0-rc.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump

func Dump()

Dump outputs the runtime stack to os.StdErr.

func DumpToFile

func DumpToFile(dir string) (string, error)

DumpToFile appends the runtime stack into a file named "goroutine-stacks-<timestamp>.log" in dir and returns the full path to that file. If no directory name is provided, it outputs to os.Stderr.

Types

This section is empty.

Jump to

Keyboard shortcuts

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