From 052783db664ab529a52026e5a2bbfa2d5ca427d2 Mon Sep 17 00:00:00 2001 From: tsmethurst Date: Thu, 4 Mar 2021 14:38:18 +0100 Subject: tidying up here and there --- internal/config/db.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 internal/config/db.go (limited to 'internal/config/db.go') diff --git a/internal/config/db.go b/internal/config/db.go new file mode 100644 index 000000000..9cbc1746e --- /dev/null +++ b/internal/config/db.go @@ -0,0 +1,12 @@ +package config + +// DBConfig provides configuration options for the database connection +type DBConfig struct { + Type string `yaml:"type"` + Address string `yaml:"address"` + Port int `yaml:"port"` + User string `yaml:"user"` + Password string `yaml:"password"` + Database string `yaml:"database"` + ApplicationName string `yaml:"applicationName"` +} -- cgit v1.2.3