Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnsupportedOperatorName = errors.New("unsupported operator name") ErrUnexpectedOperatorResult = errors.New("unexpected operator result") )
Functions ¶
func IsValidOperatorName ¶
Types ¶
type Evaluator ¶
func NewEvaluator ¶
type EvaluatorImpl ¶
type EvaluatorImpl struct {
// contains filtered or unexported fields
}
func NewEvaluatorImpl ¶
func NewEvaluatorImpl(args ...interface{}) (*EvaluatorImpl, error)
func (*EvaluatorImpl) Id ¶
func (e *EvaluatorImpl) Id() string
type EvaluatorImplOption ¶
type EvaluatorImplOption struct {
Operator map[string]interface{}
}
type LuaOperator ¶
type LuaOperator struct {
// contains filtered or unexported fields
}
func (*LuaOperator) Close ¶
func (lo *LuaOperator) Close() error
type LuaOperatorOption ¶
type LuaOperatorOption struct {
Code string
}
type OperatorFactory ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.