Documentation ¶
Index ¶
- Variables
- func Auto(i time.Duration, keep func() (bool, error), debug bool)
- func Failure(err error, message string)
- func If(condition bool, trueVal, falseVal interface{}) interface{}
- func Parse(i interface{}, content []byte, debug bool) error
- func ParseConfig(config *Config, i interface{}, paths ...string) error
- func Waits(l int, do func(item int) (interface{}, error)) ([]interface{}, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var (
GetHttpError = errors.New("get http server error")
)
Functions ¶
func ParseConfig ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.