From 72a17b128d533e3aa2829c43f6f6a9a6b77abab3 Mon Sep 17 00:00:00 2001 From: Jacob Gunther Date: Tue, 14 Feb 2023 22:38:06 -0600 Subject: [PATCH] Add more Redis connection details to config --- src/config.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/config.go b/src/config.go index a2c1357..2482483 100644 --- a/src/config.go +++ b/src/config.go @@ -20,7 +20,10 @@ type Configuration struct { Host string `yaml:"host"` Port uint16 `yaml:"port"` 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"` } `yaml:"redis"` Routes struct {