seriescycle

package
v1.2.0-arch32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NullCycler = SeriesCycler{
	New: func(in models.Series) {
	},
	Done: func(in models.Series) {
	},
}

Functions

This section is empty.

Types

type SeriesCycler

type SeriesCycler struct {
	New  func(models.Series)
	Done func(models.Series)
}

SeriesCycler manages what should happen to a models.Series when we create it, or drop our reference to it Warning: this is for managing recycling of the Datapoints field. In some places we create "new" series by repurposing existing Series and adding a new Datapoints slice onto it. E.g. in expr.NormalizeTo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL