package stack
Import Path
go.uber.org/goleak/internal/stack (on go.dev)
Dependency Relation
imports 7 packages, and imported by one package
Package-Level Type Names (only one, which is exported)
Stack represents a single Goroutine's stack.
firstFunction string
fullStack *bytes.Buffer
id int
state string
FirstFunction returns the name of the first function on the stack.
Full returns the full stack trace for this goroutine.
ID returns the goroutine ID.
State returns the Goroutine's state.
( Stack) String() string
Stack : expvar.Var
Stack : fmt.Stringer
Stack : context.stringer
Stack : github.com/aws/smithy-go/middleware.stringer
Stack : runtime.stringer
func All() []Stack
func Current() Stack
func getStacks(all bool) []Stack
func go.uber.org/goleak.filterStacks(stacks []Stack, skipID int, opts *goleak.opts) []Stack
func go.uber.org/goleak.filterStacks(stacks []Stack, skipID int, opts *goleak.opts) []Stack
func go.uber.org/goleak.isStdLibStack(s Stack) bool
func go.uber.org/goleak.isSyscallStack(s Stack) bool
func go.uber.org/goleak.isTestStack(s Stack) bool
func go.uber.org/goleak.isTraceStack(s Stack) bool
Package-Level Functions (total 6, in which 2 are exported)
All returns the stacks for all running goroutines.
Current returns the stack for the current goroutine.
Package-Level Constants (only one, which is unexported)
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)