Skip to content

onyas/redis-delete-key-pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

cp config.yaml.tpl config.yaml

#update your redis host and deleted keys in the config.yaml
vim config.yaml

#execute search and delete keys
go run *.go

How to create a golang project

mkdir redis-cluster-clean
cd redis-cluster-clean
go mod init github.com/onyas/redis-cluster-clean
go get github.com/go-redis/redis/v8

About

Delete Keys Matching a Pattern in Redis

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published