// String returns user-friendly representation of the mode
String returns user-friendly representation of the mode
// String returns user - friendly representation of the mode
func (h HeartbeatMode) String() string {
	switch h {
	case HeartbeatModeNode:
		return "Node"
	case HeartbeatModeProxy:
		return "Proxy"
	case HeartbeatModeAuth:
		return "Auth"
	case HeartbeatModeKube:
		return "Kube"
	case HeartbeatModeApp:
		return "App"
	case HeartbeatModeDB:
		return "Database"
	default:
		return fmt.Sprintf("<unknown: %v>", int(h))
	}
}
func ( h HeartbeatMode ) String ( ) string { switch h { case HeartbeatModeNode : return " " case HeartbeatModeProxy : return " " case HeartbeatModeAuth : return " " case HeartbeatModeKube : return " " case HeartbeatModeApp : return " " case HeartbeatModeDB : return " " default : return fmt . Sprintf ( " " , int ( h ) ) } }
String returns user-friendly representation of the mode
String returns user - friendly representation of the mode