sd

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KB = 1 << (10 * iota) // 1 << (10 * 1)
	MB                    // 1 << (10 * 2)
	GB                    // 1 << (10 * 3)
)

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