Documentation ¶
Index ¶
Constants ¶
View Source
const NAME_FIELD string = "name"
TODO: would be nice to make it configurable or automatically determined
Variables ¶
This section is empty.
Functions ¶
func DataProcessorStart ¶
func DataProcessorStart(dp DataProcessor) *sync.WaitGroup
Types ¶
type ChartProcessor ¶
type ChartProcessor struct {
// contains filtered or unexported fields
}
func (*ChartProcessor) Layout ¶
func (cp *ChartProcessor) Layout(data []DataPoint) error
func (*ChartProcessor) Process ¶
func (cp *ChartProcessor) Process(data []DataPoint) error
type ChartSeries ¶
type ChartSeries struct { Data []float64 Name string Chart *linechart.LineChart MaxPoints int Color cell.Color }
func (*ChartSeries) AddPoint ¶
func (c *ChartSeries) AddPoint(val float64) error
type DataProcessor ¶
type TableProcessor ¶
type TableProcessor struct {
// contains filtered or unexported fields
}
func (*TableProcessor) Format ¶
func (tp *TableProcessor) Format() string
func (*TableProcessor) Layout ¶
func (tp *TableProcessor) Layout(input []DataPoint) error
func (*TableProcessor) Process ¶
func (tp *TableProcessor) Process(input []DataPoint) error
Click to show internal directories.
Click to hide internal directories.