file

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recorder

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

Recorder appends entries under sync.Mutex; O_APPEND gives cross-process atomicity.

func New

func New(path string) (*Recorder, error)

func (*Recorder) Emit

func (r *Recorder) Emit(ctx context.Context, e metering.Entry)

Emit swallows write errors so callers never block.

Jump to

Keyboard shortcuts

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