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:
parent
cd9dd6468a
commit
ab7a8f0433
1 changed files with 2 additions and 0 deletions
|
|
@ -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",
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue