util

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsContextLive added in v0.4.0

func IsContextLive(ctx context.Context) bool

func IsNeoTimeoutError

func IsNeoTimeoutError(err error) bool

func SLogError added in v0.4.0

func SLogError(msg string, err error, args ...any)

func SLogMeasureFunction added in v0.4.0

func SLogMeasureFunction(functionName string, args ...any) func(args ...any)

func SLogSampleRepeated added in v0.4.0

func SLogSampleRepeated(functionName string, args ...any) func(args ...any)

Types

type ErrorCollector

type ErrorCollector interface {
	Add(err error)
	Combined() error
}

func NewErrorCollector

func NewErrorCollector() ErrorCollector

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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