package
0.6.2
Repository: https://github.com/netways/go-check.git
Documentation: pkg.go.dev

# Functions

Initializer for a PartialResult with "sane" defaults Notable default compared to the nil object: the default state is set to Unknown.
Determines the worst state from a list of states Helps combining an overall states, only based on a few numbers for various checks.

# Structs

Overall is a singleton for a monitoring pluging that has several partial results (or sub-results) Design decisions: A check plugin has a single Overall (singleton), each partial thing which is tested, gets its own subcheck.
PartialResult represents a sub-result for an Overall struct.