Versions in this module Expand all Collapse all v0 v0.1.2 Dec 27, 2016 v0.1.1 Dec 22, 2016 Changes in this version + var Executor = make(map[int64]*Global) + func GetTraderStatus(id int64) (status int64) + func Switch(id int64) (err error) + type Global struct + Ctx *otto.Otto + Logger model.Logger + func (g *Global) AddTask(fn otto.Value, args ...interface{}) bool + func (g *Global) ExecTasks() (results []interface{}) + func (g *Global) Log(msgs ...interface{}) + func (g *Global) LogProfit(msgs ...interface{}) + func (g *Global) LogStatus(msgs ...interface{}) + func (g *Global) Sleep(intervals ...interface{})