trace

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record struct {
	Start    time.Time     `json:"start"`
	Duration time.Duration `json:"duration"`
	Name     string        `json:"name"`
}

type Trace

type Trace struct {
	Records []Record `json:"records"`
}

func (*Trace) Start

func (t *Trace) Start(name string) func()

Jump to

Keyboard shortcuts

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