1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-17 04:30:03 +02:00

Adding app/service/redis/config.go

This commit is contained in:
Henrik Hautakoski 2023-03-08 14:03:26 +01:00
parent bd5037b044
commit 48f2b2dff1

View file

@ -0,0 +1,16 @@
package redis
type Config struct {
Addr string `json:"addr"`
Password string `json:"password"`
DB int `json:"db"`
CacheID string `json:"cache_id"`
Prefix string `json:"prefix"`
}
var DefaultConfig = Config{
Addr: "localhost:6379",
Password: "",
DB: 0,
Prefix: "ship",
}