Versions in this module Expand all Collapse all v0 v0.0.3 Apr 29, 2020 Changes in this version + func AppendIdentifiers(set1 []model.TupleType, set2 []model.TupleType) []model.TupleType + func ContainedByFirst(first []model.TupleType, second []model.TupleType) bool + func EqualSets(first []model.TupleType, second []model.TupleType) bool + func GetIndex(identifiers []model.TupleType, thisIdr model.TupleType) int + func IntersectionIdentifiers(first []model.TupleType, second []model.TupleType) []model.TupleType + func NewRtcModified(tuple model.Tuple) model.RtcModified + func SecondMinusFirst(first []model.TupleType, second []model.TupleType) []model.TupleType + func UnionIdentifiers(first []model.TupleType, second []model.TupleType) []model.TupleType + func UnionOfOtherTwoContainsAllFromFirst(first []model.TupleType, second []model.TupleType, third []model.TupleType) bool + type Network interface + AddRule func(rule model.Rule) error + Assert func(ctx context.Context, rs model.RuleSession, tuple model.Tuple, ...) + GetAssertedTuple func(key model.TupleKey) model.Tuple + GetAssertedTupleByStringKey func(key string) model.Tuple + GetRules func() []model.Rule + RegisterRtcTransactionHandler func(txnHandler model.RtcTransactionHandler, txnContext interface{}) + RemoveRule func(string) model.Rule + ReplayTuplesForRule func(ruleName string, rs model.RuleSession) (err error) + Retract func(ctx context.Context, tuple model.Tuple, changedProps map[string]bool, ...) + String func() string + func NewReteNetwork() Network + type RtcOprn int + const ADD + const DELETE + const MODIFY + const RETRACT