Versions in this module Expand all Collapse all v0 v0.26.28 Mar 22, 2022 Changes in this version + var ModelRoute = "/metrics/model" + var ModelsRoute = "/metrics/models" + type ErrorHandler interface + Error func(e error) + type Logger interface + DebugF func(category string, message string, args ...interface{}) + InfoF func(category string, message string, args ...interface{}) + type ModelViewModel struct + Ctx *fasthttp.RequestCtx + Flash *cbweb.Flash + MetricsError error + MetricsViewModel *ModelsViewModel + ModelJson string + ModelLogs string + ModelName string + ModelProgressLog string + ModelSummary string + NavItems []cbweb.NavItem + func (t *ModelViewModel) GetDataTable() *cbwebcommon.DataTable + func (t *ModelViewModel) GetLogNames() []string + func (t *ModelViewModel) GetMainTemplate() string + func (t *ModelViewModel) GetMasterViewModel() cbweb.DefaultMasterViewModel + func (t *ModelViewModel) GetMetricError() string + func (t *ModelViewModel) GetTemplates() []string + func (t *ModelViewModel) HasMetricsError() bool + type ModelsViewModel struct + AllRows bool + Ctx *fasthttp.RequestCtx + Flash *cbweb.Flash + Metrics []Record + NavItems []cbweb.NavItem + func (t *ModelsViewModel) GetDataTable() *cbwebcommon.DataTable + func (t *ModelsViewModel) GetLogNames() []string + func (t *ModelsViewModel) GetMainTemplate() string + func (t *ModelsViewModel) GetMasterViewModel() cbweb.DefaultMasterViewModel + func (t *ModelsViewModel) GetMetricsColumns() map[string]int + func (t *ModelsViewModel) GetTemplates() []string + type Module struct + Common *cbwebcommon.Module + ErrorHandler ErrorHandler + IgnoredModels []string + Logger Logger + NavItems func(ctx *fasthttp.RequestCtx) []cbweb.NavItem + func (m *Module) GetErrorHandler() ErrorHandler + func (m *Module) GetGlobalTemplates() map[string][]byte + func (m *Module) GetLogger() Logger + func (m *Module) Model(ctx *fasthttp.RequestCtx) + func (m *Module) Models(ctx *fasthttp.RequestCtx) + func (m *Module) ModelsPostAction(ctx *fasthttp.RequestCtx) + func (m *Module) SetGlobalTemplates(templates map[string][]byte) + func (m *Module) SetRoutes(router *router.Router) + type Record struct + DateTime string + ModelName string + Rows []RecordRow + type RecordRow struct + Batch int + Datetime string + Epoch int + Event string + LogNames []string + Logs []float32 + Mode string