gorse-io/gorse

Redis as data_store fully supported or not?

オープン

#534 opened on 2022/08/25

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Go (897 件のフォーク)user submission
help wanted

Repository metrics

Stars
 (9,686 個のスター)
PR merge metrics
 (平均マージ 8d 2h) (30d で 25 merged PRs)

説明

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

コントリビューターガイド