goleak: go.uber.org/goleak/internal/stack Index | Files

package stack

import "go.uber.org/goleak/internal/stack"

Index

Package Files

stacks.go

type Stack Uses

type Stack struct {
    // contains filtered or unexported fields
}

Stack represents a single Goroutine's stack.

func All Uses

func All() []Stack

All returns the stacks for all running goroutines.

func Current Uses

func Current() Stack

Current returns the stack for the current goroutine.

func (Stack) FirstFunction Uses

func (s Stack) FirstFunction() string

FirstFunction returns the name of the first function on the stack.

func (Stack) Full Uses

func (s Stack) Full() string

Full returns the full stack trace for this goroutine.

func (Stack) ID Uses

func (s Stack) ID() int

ID returns the goroutine ID.

func (Stack) State Uses

func (s Stack) State() string

State returns the Goroutine's state.

func (Stack) String Uses

func (s Stack) String() string

Package stack imports 7 packages (graph) and is imported by 1 packages. Updated 2019-11-29. Refresh now. Tools for package owners.