aggregator

package
v3.4.25 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorBlank = errors.New("无数据")

Functions

func Start

func Start()

Types

type Aggregator

type Aggregator interface {
	Compile(expression string) error
	Push(ctx map[string]interface{}) error
	Pop() (float64, error)
}

func New

func New(m *model.ModAggregator, pop func(float64, error)) (agg Aggregator, err error)

New 新建

Jump to

Keyboard shortcuts

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