Documentation ¶
Overview ¶
Package storage stores the input axes in order, and can get a Plane by time interval.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateStorageAxis ¶
CreateStorageAxis converts the RegionsInfo to a StorageAxis.
func IntoResponseAxis ¶
IntoResponseAxis converts StorageAxis to ResponseAxis.
Types ¶
type LayerConfig ¶
LayerConfig is the configuration of layerStat.
type Stat ¶
type Stat struct {
// contains filtered or unexported fields
}
Stat is composed of multiple layerStats.
func NewStat ¶
func NewStat(ctx context.Context, wg *sync.WaitGroup, provider *region.PDDataProvider, cfg StatConfig, strategy matrix.Strategy, startTime time.Time) *Stat
NewStat generates a Stat based on the configuration.
type StatConfig ¶
type StatConfig struct {
LayersConfig []LayerConfig
}
StatConfig is the configuration of Stat.
Click to show internal directories.
Click to hide internal directories.