stack

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

README

stack

A basic stack trace that can be encoded/decoded or sent over wire.

frames := stack.Trace(32, 1) // (max, skip)

See GoDoc for reference

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Frames

type Frames []runtime.Frame

func Trace

func Trace(max, skip int) Frames

func (*Frames) GobDecode

func (s *Frames) GobDecode(data []byte) error

func (Frames) GobEncode

func (s Frames) GobEncode() ([]byte, error)

func (Frames) MarshalBinary

func (s Frames) MarshalBinary() ([]byte, error)

func (Frames) MarshalJSON

func (s Frames) MarshalJSON() ([]byte, error)

func (Frames) String

func (s Frames) String() string

func (Frames) ToStrings

func (s Frames) ToStrings() []string

func (*Frames) UnmarshalBinary

func (s *Frames) UnmarshalBinary(data []byte) error

func (*Frames) UnmarshalJSON

func (s *Frames) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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