gorse-io/gorse

Redis as data_store fully supported or not?

Open

#534 opened on Aug 25, 2022

 (2 comments) (0 reactions) (0 assignees)Go (897 forks)user submission
help wanted

Repository metrics

Stars
 (9,686 stars)
PR merge metrics
 (Avg merge 8d 2h) (25 merged PRs in 30d)

Description

Hello, dear developers i have a question about use redis as data_store in Gorse. I look in sources and saw: https://github.com/gorse-io/gorse/blob/master/storage/data/redis.go

Redis as data_store fully supported in latest release version of gorse?

Can I simply add in validator here and try to use Gorse?

func (config *Config) Validate(oneModel bool) error { validate := validator.New() if err := validate.RegisterValidation("data_store", func(fl validator.FieldLevel) bool { prefixes := []string{ storage.RedisPrefix,

Thanks

Contributor guide