Versions in this module Expand all Collapse all v1 v1.0.0 Dec 7, 2019 Changes in this version + var ErrorDirectoryNotFound = errors.New("directory not found") + var ErrorInvalidDataFormat = errors.New("invalid data format") + var ErrorInvalidTimeFormat = errors.New("invalid time format") + var ErrorRequiredOption = errors.New("required option") + func EnsureDir(dir string) error + func InitLogger(dir, name string, debug, verbose bool) error + func Usage(fs *pflag.FlagSet, description, version string) func() + func WaitForSignals() + type Config struct + Debug bool + Description string + DisplayName string + IsService bool + Name string + Verbose bool + Version string + type Engine struct + Config *Config + WorkingDir string + func NewEngine(server Server, config *Config) *Engine + func (e *Engine) Start() error + func (e *Engine) Stop() error + type Server interface + SetEngine func(e *Engine) + Start func() error + Stop func() error Other modules containing this package github.com/devplayg/hippo/v2 github.com/devplayg/hippo/v3