sd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 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() http.HandlerFunc

CPUCheck checks the cpu usage.

func DiskCheck

func DiskCheck() http.HandlerFunc

DiskCheck checks the disk usage.

func HealthCheck

func HealthCheck() http.HandlerFunc

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

func RAMCheck

func RAMCheck() http.HandlerFunc

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