1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-07-04 12:03:41 +02:00

config/config.go: Adding RedisConfig.Prefix

This commit is contained in:
Henrik Hautakoski 2022-11-29 13:44:29 +01:00
parent cd9dd6468a
commit ab7a8f0433

View file

@ -12,6 +12,7 @@ type RedisConfig struct {
Password string `json:"password"` Password string `json:"password"`
DB int `json:"db"` DB int `json:"db"`
CacheID string `json:"cache_id"` CacheID string `json:"cache_id"`
Prefix string `json:"prefix"`
} }
type TelegramConfig struct { type TelegramConfig struct {
@ -44,6 +45,7 @@ func Load(filename string) (Config, error) {
Addr: "localhost:6379", Addr: "localhost:6379",
Password: "", Password: "",
DB: 0, DB: 0,
Prefix: "ship",
}, },
} }