Documentation ¶
Index ¶
- func Application() string
- func ApplicationError() string
- func Assets() string
- func Debug() bool
- func GetBoolFromEnv(key string) bool
- func GetIntFromEnv(key string) (int, error)
- func GetStringFromEnv(key string) string
- func GetUrlDatabase() string
- func GetUrlHttp() string
- func SetPrefix(key string)
- type GeneralConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Application ¶
func Application() string
func ApplicationError ¶
func ApplicationError() string
func GetBoolFromEnv ¶
func GetIntFromEnv ¶
func GetStringFromEnv ¶
func GetUrlDatabase ¶
func GetUrlDatabase() string
func GetUrlHttp ¶
func GetUrlHttp() string
Types ¶
type GeneralConfig ¶
type GeneralConfig struct {
// contains filtered or unexported fields
}
func (*GeneralConfig) GetDatabaseUrl ¶
func (this *GeneralConfig) GetDatabaseUrl() string
func (*GeneralConfig) GetHttpUrl ¶
func (this *GeneralConfig) GetHttpUrl() string
func (*GeneralConfig) LoadDefaultConfig ¶
func (this *GeneralConfig) LoadDefaultConfig()
func (*GeneralConfig) LoadEnvConfig ¶
func (this *GeneralConfig) LoadEnvConfig() error
Click to show internal directories.
Click to hide internal directories.