Documentation
¶
Index ¶
- Constants
- func CheckConfig()
- func CheckValue(key, defaultValue string)
- func GetBoolEnv(key string) bool
- func GetBoolValue(key string) bool
- func GetEnv(key string) string
- func GetIntEnv(key string) int
- func GetIntValue(key string, defaultVal int) int
- func GetValue(key string) string
- func LoadEnvs(objPtr any)
- func LookupEnv(key string) (string, bool)
- func SetValue(key, value string)
Constants ¶
View Source
const ( KeyDB = "admin.config.gorm.db" KeyNoCheckRouter = "admin.config.router.nocheck" KeyCheckRouter = "admin.config.router.check" )
Variables ¶
This section is empty.
Functions ¶
func CheckConfig ¶
func CheckConfig()
func CheckValue ¶
func CheckValue(key, defaultValue string)
func GetBoolEnv ¶
func GetBoolValue ¶
func GetIntValue ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.