1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-17 04:30:03 +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"`
DB int `json:"db"`
CacheID string `json:"cache_id"`
Prefix string `json:"prefix"`
}
type TelegramConfig struct {
@ -44,6 +45,7 @@ func Load(filename string) (Config, error) {
Addr: "localhost:6379",
Password: "",
DB: 0,
Prefix: "ship",
},
}