gorse-io/gorse

Redis as data_store fully supported or not?

開放

#534 建立於 2022年8月25日

 (2 則留言) (0 個反應) (0 位負責人)Go (897 個分叉)user submission
help wanted

倉庫指標

星標
 (9,686 顆星)
PR 合併指標
 (平均合併 8天 2小時) (30 天內合併 25 個 PR)

描述

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

貢獻者指南