Documentation ¶
Index ¶
- func GetBoolOrDefault(key string, defaultValue bool) bool
- func GetIntOrDefault(key string, defaultValue int) int
- func GetString(key string) string
- func GetStringNotEmpty(key string) (string, error)
- func GetStringOrDefault(key, defaultValue string) string
- func HomeDir() string
- func HostPath() string
- func HostPort() int
- func Init() error
- func LogFilePrefix(cate string) string
- func LogLevel() string
- func LogPath() string
- func ReadKey(key string, obj interface{})
- func RootDir() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBoolOrDefault ¶
func GetIntOrDefault ¶
func GetStringNotEmpty ¶
func GetStringOrDefault ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.