u_monitor

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Monitor

func Monitor(ctx context.Context, delay time.Duration)

Monitor register with goroutine to monitor memory and GC

func TimeTrack

func TimeTrack(start time.Time)

TimeTrack call defer TimeTrack(time.Now) at beginning of function that you want to track monitor

func TimeTrackWithCtx

func TimeTrackWithCtx(ctx context.Context, start time.Time)

Types

This section is empty.

Jump to

Keyboard shortcuts

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