feat: wip postgres support

This commit is contained in:
Ludvig Lundgren 2022-03-27 03:12:00 +02:00
parent ffa2447c59
commit cc0c071cce
16 changed files with 362 additions and 211 deletions

View file

@ -1,6 +1,7 @@
package domain
type Config struct {
ConfigPath string
Host string `toml:"host"`
Port int `toml:"port"`
LogLevel string `toml:"logLevel"`
@ -8,4 +9,10 @@ type Config struct {
BaseURL string `toml:"baseUrl"`
SessionSecret string `toml:"sessionSecret"`
CustomDefinitions string `toml:"customDefinitions"`
DatabaseType string `toml:"databaseType"`
PostgresHost string `toml:"postgresHost"`
PostgresPort int `toml:"postgresPort"`
PostgresDatabase string `toml:"postgresDatabase"`
PostgresUser string `toml:"postgresUser"`
PostgresPass string `toml:"postgresPass"`
}