Versions in this module Expand all Collapse all v0 v0.0.2 Sep 17, 2019 Changes in this version + type Action struct + func NewAction(name string, run func(*Context) error, onSucceeded func(*Context), ...) *Action + func (t *Action) GetName() string + func (t *Action) OnFailed(context *Context, err error) + func (t *Action) OnSucceeded(context *Context) + func (t *Action) Run(context *Context) error + type Actor interface + GetName func() string + OnFailed func(*Context, error) + OnSucceeded func(*Context) + Run func(*Context) error + type Context struct + Logger *Logger + func NewContext(stdoutEnabled bool) *Context + func (c *Context) AddInt(key string, value int) + func (c *Context) AddObject(key string, value interface{}) + func (c *Context) AddStr(key string, value string) + func (c *Context) GetInt(key string) (int, error) + func (c *Context) GetObject(key string) (interface{}, error) + func (c *Context) GetStr(key string) (string, error) + type Logger struct + func (logger *Logger) Log(format string, a ...interface{}) + func (logger *Logger) String() string + type Suzushiro struct + func NewSuzushiro() *Suzushiro + func (s *Suzushiro) AddLane(name string, actions []Actor) error + func (s *Suzushiro) GetRunningLaneCount(name string) int + func (s *Suzushiro) RunLaneAsync(name string, context *Context, onSucceeded func(*Context), ...) error