Documentation
¶
Overview ¶
@Time : 2020/8/3 9:45 @Author : wayos @File : config.go @Software: tubox
@Time : 2020/8/3 10:25 @Author : wayos @File : ini.go @Software: tubox
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface {
String(key string) string
Strings(key string, delim string) []string
Int(key string) (int, error)
Int64(key string) (int64, error)
Bool(key string) (bool, error)
Float(key string) (float64, error)
DefaultString(key string, defaultVal string) string
DefaultStrings(key string, delim string, defaultVal []string) []string
DefaultInt(key string, defaultVal int) int
DefaultInt64(key string, defaultVal int64) int64
DefaultBool(key string, defaultVal bool) bool
DefaultFloat(key string, defaultVal float64) float64
}
Config
Click to show internal directories.
Click to hide internal directories.