Documentation ¶
Index ¶
Constants ¶
View Source
const ( // And is the Logical Operator And And = "and" // Or is the Logical Operator Or Or = "or" //Equal is the Equal value comparator Equal = "=" //Regexp is the Equal value comparator Regexp = "regexp" // Greater is the Greater value comparator Greater = ">" // Lesser is the Lesser value comparator Less = "<" // Nil is the Greater value comparator Nil = "nil" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogicalCondition ¶
LogicalCondition
func (*LogicalCondition) Add ¶
func (comparator *LogicalCondition) Add(condition Condition)
Add func implements interface, byt adding condition
func (*LogicalCondition) IsMet ¶
func (comparator *LogicalCondition) IsMet(currentEntityJSON *string) (bool, error)
IsMet func implements IsMet
func (*LogicalCondition) Remove ¶
func (comparator *LogicalCondition) Remove(condition Condition)
Remove func implements interface, by Removing condition
type NumberComparatorCondition ¶
NumberComparatorCondition compares number
type StringComparatorCondition ¶
StringComparatorCondition compares string
Click to show internal directories.
Click to hide internal directories.