func HealthCmd() *cobra.Command {
	cmd := &cobra.Command{
		Use:   "health",
		Short: "Probe Easegress health",
		Run: func(cmd *cobra.Command, args []string) {
			handleRequest(http.MethodGet, makeURL(healthURL), nil, cmd)
		},
	}
	return cmd
}
HealthCmd defines health command.
package command
import (
	"net/http"
	"github.com/spf13/cobra"
)