Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { APP struct { Name string `default:"app"` Version string `default:"1.0.0"` Addr string `default:"8081"` Timeout int `default:"5"` } Data struct { Database struct { Driver string `default:"mysql"` Source string } Redis struct { Addr string Password string ReadTimeout float64 `default:"0.2"` WriteTimeout float64 `default:"0.2"` } } }
Click to show internal directories.
Click to hide internal directories.