Documentation
¶
Index ¶
- func FormatStatus(data []byte) (string, error)
- func FormatUnixTime(unixTime float64) string
- func GetAndFormatStatus() ([]byte, error)
- func GetCheckStatus(c check.Check, cs *check.Stats) ([]byte, error)
- func GetStatus() (map[string]interface{}, error)
- func LastErrorMessage(value string) template.HTML
- func MkHuman(f float64) string
- func SetJMXStatus(s JMXStatus)
- type JMXStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatStatus ¶
FormatStatus takes a json bytestring and prints out the formatted statuspage
func FormatUnixTime ¶
FormatUnixTime formats the unix time to make it more readable
func GetAndFormatStatus ¶
GetAndFormatStatus gets and formats the status all in one go
func GetCheckStatus ¶
GetCheckStatus gets the status of a single check
func LastErrorMessage ¶
LastErrorMessage converts the last error message to html
Types ¶
Click to show internal directories.
Click to hide internal directories.