redis

package
v0.0.0-...-920681c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL