Monitor

package
v0.7.10 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	Alloc        uint64
	TotalAlloc   uint64
	Sys          uint64
	Mallocs      uint64
	Frees        uint64
	LiveObjects  uint64
	PauseTotalNs uint64

	NumGC        uint32
	NumGoroutine int
}

type MonitorType

type MonitorType struct {
	Next  http.Handler
	Paths []string
	Fmt   string
}

func NewMonitorServer

func NewMonitorServer(n http.Handler, p []string, fmt string) *MonitorType

func (*MonitorType) InitializeWithConfigData

func (hdlr *MonitorType) InitializeWithConfigData(next http.Handler, gCfg *cfg.ServerGlobalConfigType, serverName string, pNo, callNo int) (err error)

func (*MonitorType) PreValidate

func (hdlr *MonitorType) PreValidate(gCfg *cfg.ServerGlobalConfigType, cfgData map[string]interface{}, serverName string, pNo, callNo int) (err error)

func (*MonitorType) ServeHTTP

func (hdlr *MonitorType) ServeHTTP(www http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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