Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Server ServerConfig DB DatabaseConfig )
Functions ¶
This section is empty.
Types ¶
type DatabaseConfig ¶
type DatabaseConfig struct { Host string `required:"true" split_words:"true"` Name string `required:"true" split_words:"true"` Password string `required:"true" split_words:"true"` Port int `default:"5432" split_words:"true"` SSLMode string `default:"disable" split_words:"true"` TimeZone string `default:"Etc/UTC" split_words:"true"` User string `required:"true" split_words:"true"` }
Click to show internal directories.
Click to hide internal directories.