Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port int `default:"7000" env:"PORT"` Host string DB struct { Name string `default:"qor_example"` Adapter string `default:"postgres"` User string Password string Host string `default:"localhost"` Port uint `default:"5432"` Debug bool `default:"false"` Connections int `default:"100"` } Redis struct { Host string `default:"localhost"` Port uint `default:"6379"` Protocol string `default:"tcp"` Password string } Session struct { Name string `default:"sessionid"` Adapter string `default:"cookie"` } Secret string `default:"secret"` Limit int `default:"5"` }
Click to show internal directories.
Click to hide internal directories.