Versions in this module Expand all Collapse all v0 v0.3.8 Jun 28, 2026 v0.3.7 Jun 28, 2026 v0.3.6 Jun 28, 2026 v0.3.5 Jun 27, 2026 v0.3.4 Jun 27, 2026 v0.3.3 Jun 27, 2026 Changes in this version + func PercentileRange(data []float32, loPct, hiPct int) (float32, float32) + type SparkHistory struct + func NewSparkHistory(maxSamples int) SparkHistory + func (h *SparkHistory) Normalized(loPct, hiPct int, minRange float32) []float32 + func (h *SparkHistory) Push(v float32) + func (h *SparkHistory) Raw() []float32 v0.3.2 Jun 27, 2026 v0.3.1 Jun 27, 2026 v0.3.0 Jun 27, 2026 Changes in this version + type DetailTapper interface + OnDetailTap func(x, y int) (bool, error) v0.2.0 Jun 26, 2026 v0.0.1 Jun 9, 2026 Changes in this version + const ConfigKeyZoneHeight + const ConfigKeyZoneWidth + var ErrEmptyPrimary = errors.New("payload primary field cannot be empty") + var ErrInvalidSeverity = errors.New("severity must be 'ok', 'warn', or 'crit'") + var ErrLoadSparkTooLong = errors.New("load_spark data exceeds 60 points") + var ErrNotTapper = errors.New("plugin does not implement Tapper") + var ErrProgressOutOfRange = errors.New("progress must be between 0.0 and 1.0") + var ErrSparkTooLong = errors.New("sparkline data exceeds 60 points") + var Handshake = plugin.HandshakeConfig + type ConfigField struct + Default any + Help string + Key string + Label string + Max *int + Min *int + Options []FieldOption + ShowIf *ShowIfCondition + Type FieldType + type ConfigSchema struct + Fields []ConfigField + type Descriptor struct + Author string + Description string + HasGraph bool + Icon string + Name string + RefreshMs int + Schema ConfigSchema + Version string + type DetailPayload struct + RawFrame []byte + Title string + ZoneID string + type ErrLoadSparkOutOfRange struct + Index int + Value float32 + func (e *ErrLoadSparkOutOfRange) Error() string + type ErrSparkOutOfRange struct + Index int + Value float32 + func (e *ErrSparkOutOfRange) Error() string + type ExecPlugin struct + Impl Plugin + func (ExecPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error) + func (p *ExecPlugin) Server(*plugin.MuxBroker) (interface{}, error) + type FieldOption struct + Label string + Value string + type FieldType string + const FieldTypeBool + const FieldTypeColor + const FieldTypeEnum + const FieldTypeInt + const FieldTypeLocation + const FieldTypeString + type GraphType string + const GraphTypeArea + const GraphTypeBar + const GraphTypeBarThresh + const GraphTypeCombo + const GraphTypeLine + const GraphTypeNumberDelta + const GraphTypeSegmented + const GraphTypeSparkline + type LabelPosition string + const LabelPositionBelow + const LabelPositionRight + type Payload struct + Caption string + Expandable bool + GraphBgOpacity int + GraphLineOpacity int + GraphType GraphType + Icon string + LabelOffsetX int + LabelOffsetY int + LabelPosition LabelPosition + LineSpacing int + LoadSpark []float32 + NormalizeGraph bool + Primary string + Progress float32 + RawFrame []byte + Secondary string + Severity Severity + Span int + Spark []float32 + TTL time.Duration + Timestamp time.Time + Title string + Value string + ValueUnit string + func (p *Payload) IsExpired() bool + func (p *Payload) Validate() error + type Plugin interface + Configure func(cfg map[string]any) error + Describe func() (Descriptor, error) + Sample func() (Payload, error) + type Severity string + const SeverityCrit + const SeverityOK + const SeverityWarn + type ShowIfCondition struct + Key string + NotEq string + type Tapper interface + OnTap func() (DetailPayload, error)