stack

package
v0.0.0-...-8d193d8 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 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