sd

package
v0.0.0-...-1dda0de Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	B  = 1
	KB = 1024 * B
	MB = 1024 * KB
	GB = 1024 * MB
)

Variables

This section is empty.

Functions

func CPUCheck

func CPUCheck(c *gin.Context)

CPUCheck checks the cpu usage.

func DiskCheck

func DiskCheck(c *gin.Context)

DiskCheck checks the disk usage.

func HealthCheck

func HealthCheck(c *gin.Context)

HealthCheck shows `OK` as the ping-pong result.

func RAMCheck

func RAMCheck(c *gin.Context)

RAMCheck checks the disk usage.

Types

This section is empty.

Jump to

Keyboard shortcuts

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