MCPcopy Create free account
hub / github.com/astercloud/aster / testMatcher

Struct testMatcher

pkg/memory/logic/manager_test.go:464–468  ·  view source on GitHub ↗

testMatcher 测试用的 PatternMatcher

Source from the content-addressed store, hash-verified

462
463// testMatcher 测试用的 PatternMatcher
464type testMatcher struct {
465 supportedTypes []string
466 memories []*LogicMemory
467 err error
468}
469
470func (m *testMatcher) MatchEvent(ctx context.Context, event Event) ([]*LogicMemory, error) {
471 if m.err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected