Versions in this module Expand all Collapse all v1 v1.0.2 Mar 14, 2024 v1.0.1 Mar 14, 2024 Changes in this version + var AdminCheckList map[string]HealthChecker + var CommandNotFound = errors.New("Command not found") + func AddHealthCheck(name string, hc HealthChecker) + func GetCPUProfile(w io.Writer) + func MemProf(w io.Writer) + func PrintGCSummary(w io.Writer) + func ProcessInput(input string, w io.Writer) + func RegisterCommand(module string, commandName string, command Command) + type Command interface + Execute func(params ...interface{}) *Result + func GetCommand(module string, cmdName string) Command + type HealthChecker interface + Check func() error + type Result struct + Content interface{} + Error error + Status int + func (r *Result) IsSuccess() bool