Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PingCmd = &cobra.Command{ Use: "mysql", Short: "Check if MySQL is alive or not", Long: `Check ping for MySQL.`, Run: func(cmd *cobra.Command, args []string) { address, _ := cmd.Flags().GetString("address") user, _ := cmd.Flags().GetString("user") password, _ := cmd.Flags().GetString("password") db, _ := cmd.Flags().GetString("db") pingMysql(address, user, password, db) }, }
PingCmd represents the mysql command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.