commands

package
v0.0.0-...-30a190e Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: MIT Imports: 19 Imported by: 0

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 Execute

func Execute() error

func GetConfigManager

func GetConfigManager() (*config.Manager, *config.Config)

func GetDB

func GetDB() *bun.DB

func GetRedisClient

func GetRedisClient() *redis.Client

Types

This section is empty.

Jump to

Keyboard shortcuts

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