Move host and port to environment variables

This commit is contained in:
Jacob Gunther
2022-03-10 20:18:41 -06:00
parent 1a22b02cc6
commit 16d5c9689e
5 changed files with 26 additions and 6 deletions

View File

@@ -7,8 +7,6 @@ import (
)
type Configuration struct {
Host string `yaml:"host"`
Port uint16 `yaml:"port"`
Redis struct {
URI string `yaml:"uri"`
Database int `yaml:"database"`