pm2

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInstance

func GetInstance() *pm

GetInstance 获取 pm2 单例

func GetInstanceWithLogger

func GetInstanceWithLogger(logger logFunc) *pm

Types

type MetricsMemStats

type MetricsMemStats struct {
	Init      bool
	NumGC     *metric.Metric
	LastNumGC float64

	NumMallocs     *metric.Metric
	LastNumMallocs float64

	NumFree     *metric.Metric
	LastNumFree float64

	HeapAlloc *metric.Metric

	Pause     *metric.Metric
	LastPause float64
}

MetricsMemStats is a structure to simplify storage of mem values

Jump to

Keyboard shortcuts

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