Add more Redis connection details to config

This commit is contained in:
Jacob Gunther
2023-02-14 22:38:06 -06:00
parent 23ac7fe894
commit 72a17b128d

View File

@@ -20,7 +20,10 @@ type Configuration struct {
Host string `yaml:"host"` Host string `yaml:"host"`
Port uint16 `yaml:"port"` Port uint16 `yaml:"port"`
Redis struct { Redis struct {
URI string `yaml:"uri"` Host string `yaml:"host"`
Port uint16 `yaml:"port"`
User string `yaml:"user"`
Password string `yaml:"password"`
Database int `yaml:"database"` Database int `yaml:"database"`
} `yaml:"redis"` } `yaml:"redis"`
Routes struct { Routes struct {