Versions in this module Expand all Collapse all v1 v1.2.1 Mar 15, 2020 Changes in this version + var MasterModule = func() module.Module + var TimerModule = func() module.Module + type HttpResponse struct + Code string + Error string + Result interface{} + func NewErrorResponse(Code string, Error string) *HttpResponse + func NewHttpResponse(Code string, Result interface{}) *HttpResponse + func (h *HttpResponse) String() string + type Master struct + ModuleReports map[string]*ModuleReport + ProcessMap map[string]*master.Process + func (m *Master) GetArgs(req *http.Request) map[string]string + func (m *Master) GetType() string + func (m *Master) ModuleList(w http.ResponseWriter, req *http.Request) + func (m *Master) OnDestroy() + func (m *Master) OnInit(app module.App, settings *conf.ModuleSettings) + func (m *Master) ProcessList(w http.ResponseWriter, req *http.Request) + func (m *Master) ReportForm(moduleType string, ProcessID string, Id string, Version string, ...) (result string, err string) + func (m *Master) Run(closeSig chan bool) + func (m *Master) StartProcess(w http.ResponseWriter, req *http.Request) + func (m *Master) StopProcess(w http.ResponseWriter, req *http.Request) + func (m *Master) UpdateProcessState(w http.ResponseWriter, req *http.Request) + func (m *Master) Version() string + type ModuleReport struct + Executing int64 + Id string + ModuleType string + ProcessID string + ReportForm map[string]*basemodule.StatisticalMethod + Version string + type Timer struct + func (m *Timer) GetType() string + func (m *Timer) OnDestroy() + func (m *Timer) OnInit(app module.App, settings *conf.ModuleSettings) + func (m *Timer) Run(closeSig chan bool)