memmon

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log()

func TakeHeapSnapshot added in v1.0.1

func TakeHeapSnapshot(dir string) (string, error)

TakeHeapSnapshot saves current heap profile to file

Types

type Monitor

type Monitor struct {
	Dispatcher *dispatcher.Dispatcher

	Interval time.Duration
	Path     string
	// contains filtered or unexported fields
}

func NewMonitor

func NewMonitor(interval time.Duration, path string) *Monitor

func (*Monitor) Close

func (m *Monitor) Close() error

func (*Monitor) Start

func (m *Monitor) Start() error

Jump to

Keyboard shortcuts

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