Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Application environment LOCAL, TEST, PRODUCTION & etc AppEnv string // Application name AppName string // Application secret key AppSecret string // Enable application debug mode AppDebug bool // Database Driver DBDriver string DBProtocol string DBHost string DBPort string DBName string DBUser string DBPass string DBURL string // Write log into file. You can disable it by setting `LogFile` to empty string LogFile string // Show the log by level, available value is INFO, WARNING and ERROR. // If `AppDebug` is true, the log level will automatically set to INFO LogLevel string // HTTP port default is 8080 HTTPPort string // Enable H2C support HTTPH2C bool }
Click to show internal directories.
Click to hide internal directories.