gorse-io/gorse

Redis as data_store fully supported or not?

Aperta

#534 aperta il 25 ago 2022

 (2 commenti) (0 reazioni) (0 assegnatari)Go (897 fork)user submission
help wanted

Metriche repository

Star
 (9686 stelle)
Metriche merge PR
 (Merge medio 8g 2h) (25 PR mergiate in 30 g)

Descrizione

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

Guida contributor