model

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alarm added in v1.5.0

type Alarm struct {
	CPU    float64 `redis:"cpu"`
	Memory float64 `redis:"memory"`
	Disk   float64 `redis:"disk"`
	Load   float64 `redis:"load"`
}

Alarm model.

type CPU

type CPU struct {
	Used float64
}

CPU model.

type Disk

type Disk struct {
	Path string
	Used float64
}

Disk model.

type Load added in v1.12.0

type Load struct {
	Load1  float64
	Load5  float64
	Load15 float64
}

type Memory

type Memory struct {
	Used float64
}

Memory model.

type ProcessCPU added in v1.12.0

type ProcessCPU struct {
	PID  int32
	Name string
	Used float64
}

ProcessCPU model.

type ProcessMemory added in v1.12.0

type ProcessMemory struct {
	PID  int32
	Name string
	Used float32
}

ProcessMemory model.

Jump to

Keyboard shortcuts

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