Documentation ¶ Index ¶ func InitChecks() type Status func APIStatus() Status func SearchStatus() Status Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func InitChecks ¶ func InitChecks() InitChecks initiates health check jobs Types ¶ type Status ¶ type Status int Status represents the status code of a service const ( // OK status if all checks were successful OK Status = iota // Warning status if non-critical issues are discovered Warning // Failure status when critical problems are discovered Failure ) func APIStatus ¶ func APIStatus() Status APIStatus returns the database status of the last health check func SearchStatus ¶ func SearchStatus() Status SearchStatus returns the database status of the last health check Source Files ¶ View all Source files config.go health.go status.go Click to show internal directories. Click to hide internal directories.