Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Server struct { Type string `yaml:"type" env-default:"port"` Port string `yaml:"port" env-default:"8080"` } `yaml:"server"` PostgresDb `yaml:"postgresConfigDb"` }
type PostgresDb ¶
type PostgresDb struct { Username string `yaml:"username"` Host string `yaml:"host"` Port string `yaml:"port"` Dbname string `yaml:"dbname"` SSLMode string `yaml:"sslmode"` // Password string `yaml:"password" env:"PASSWORD" env-default:"postgres"` MaxAttemptsForConnection string `yaml:"max-attempts-for-connection" env-default:"10"` MakeStartTables string `yaml:"make-start-tables" env-default:"false"` MakeStartAdmin string `yaml:"make-start-admin" env-default:"false"` }
Click to show internal directories.
Click to hide internal directories.