Documentation ¶
Index ¶
- func BuildLocalRuleEngine(engineID string) (*ruleeng.RuleEngine, error)
- func CloneEngine(engineID string, cloneRuleBase bool, cloneKnowledgeBase bool) (*ruleeng.RuleEngine, error)
- func EvaluateRules(ruleEngine *ruleeng.RuleEngine, knowledgeBase map[string]interface{}, ...) []ruleeng.Action
- func GetEngine(engineID string) (*ruleeng.RuleEngine, bool)
- func InitEngine(engineID string) error
- func UpdateEngine(engineID string) error
- type EvaluatedSituation
- type SituationToEvaluate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildLocalRuleEngine ¶
func BuildLocalRuleEngine(engineID string) (*ruleeng.RuleEngine, error)
func CloneEngine ¶
func CloneEngine(engineID string, cloneRuleBase bool, cloneKnowledgeBase bool) (*ruleeng.RuleEngine, error)
CloneEngine inits a new engine based on an existing one
func EvaluateRules ¶
func GetEngine ¶
func GetEngine(engineID string) (*ruleeng.RuleEngine, bool)
GetEngine return a specific engine
func InitEngine ¶
InitEngine inits an engine if it does not exist
func UpdateEngine ¶
UpdateEngine updates an engine if it exists
Types ¶
Click to show internal directories.
Click to hide internal directories.