Documentation
¶
Index ¶
- func GetDBHost() string
- func GetDBInformationName() string
- func GetDBName() string
- func GetDBTableName() string
- func GetDataPath() string
- func GetDefualtDatabaseAddress() string
- func GetEnv() string
- func GetInternaleDataPath() string
- func GetPort() string
- func GetStorageEngine() string
- func IsDebug() bool
- type Env
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDBInformationName ¶ added in v0.0.6
func GetDBInformationName() string
func GetDBTableName ¶
func GetDBTableName() string
func GetDataPath ¶
func GetDataPath() string
func GetDefualtDatabaseAddress ¶ added in v0.0.7
func GetDefualtDatabaseAddress() string
func GetInternaleDataPath ¶ added in v0.0.7
func GetInternaleDataPath() string
func GetStorageEngine ¶
func GetStorageEngine() string
Types ¶
type Env ¶
type Env struct { DEBUG bool `env:"DEBUG"` ENV string `env:"ENV"` DB_NAME string `env:"DB_NAME"` DB_TABLE_NAME string `env:"DB_TABLE_NAME"` DATA_PATH string `env:"DATA_PATH"` STORAGE_ENGINE string `env:"STORAGE_ENGINE"` PORT string `env:"PORT"` DB_HOUST string `env:"DB_HOST"` DB_INFORMATION_NAME string `env:"DB_INFORMATION_NAME"` INTERNAL_DATA_PATH string `env:"INTERNAL_DATA_PATH"` }
Click to show internal directories.
Click to hide internal directories.