Documentation ¶
Index ¶
- Constants
- Variables
- func Int(name string) int
- func Int64(name string) int64
- func Int64Def(name string, def int64) int64
- func IntDef(name string, def int) int
- func String(name string) string
- func StringDef(name, def string) string
- type Config
- func (p *Config) Int(name string) int
- func (p *Config) Int64(name string) int64
- func (p *Config) Int64Def(name string, def int64) int64
- func (p *Config) IntDef(name string, def int) int
- func (p *Config) Map() (map[string]string, error)
- func (p *Config) String(name string) string
- func (p *Config) StringDef(name, def string) string
- type ConfigSvc
Constants ¶
View Source
const (
EconfAliveDuration = 5 // 5秒探活时间
)
Variables ¶
View Source
var ErrNil = errors.New("nil or type error")
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.