runtimeutil

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: MIT Imports: 6 Imported by: 3

Documentation

Overview

Package runtimeutil provides runtime utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCallers

func GetCallers(skip int) []uintptr

GetCallers returns the callers. See runtime.Callers.

func GetCallersFrames added in v0.21.3

func GetCallersFrames(callers []uintptr) iter.Seq[runtime.Frame]

GetCallersFrames returns and iter.Seq of runtime.Frame for the given callers.

func WriteFrame added in v0.22.0

func WriteFrame(w io.Writer, f runtime.Frame) (int64, error)

WriteFrame writes a runtime.Frame to a io.Writer.

func WriteFrames added in v0.22.0

func WriteFrames(w io.Writer, frames iter.Seq[runtime.Frame]) (total int64, err error)

WriteFrames writes an iter.Seq of runtime.Frame to a io.Writer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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