Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FlushAllCmd = &cobra.Command{ Use: "flushall", Short: "Flush all data from Redis", Run: func(cmd *cobra.Command, args []string) { GetRedisClient().FlushAll(context.Background()) }, }
Functions ¶
func GetRedisClient ¶
func GetRedisClient() *redis.Client
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.