evaluator

package
v0.0.0-...-51fd5d7 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirectEvaluation

func DirectEvaluation(value any, mt metric.MetricType, expression string) (result any, evaluated bool, err error)

Types

type Evaluator

type Evaluator struct {
	// contains filtered or unexported fields
}

func New

func New(pgConn *pg.PG, cache *cache.Cache) *Evaluator

func (*Evaluator) Evaluate

func (e *Evaluator) Evaluate(v any, metricId int64, mt metric.MetricType) (result any, evaluated bool, err error)

Jump to

Keyboard shortcuts

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