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