1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00
v2fly/common/strmatcher
Ye Zhihao d4da365c5f
Refactor: strmatcher module (#1333)
* Reorganize strmatcher's package structure

* Rename types in strmatcher package according to their file names

* Stablize strmatcher's Matcher interface

* Implement []matcherEntry as SimpleMatcherGroup

* Implement mph algorithm extracted from MphIndexMatcher as MphMatcherGroup

* Implement AddMatcher/AddFullMatcher/AddDomainMatcher/AddSubstrMatcher for each MatcherGroup

* Stablize strmatcher's MatcherGroup interface

* Stablize strmatcher's IndexMatcher interface

* Update strmatcher's benchmark

* Compatibility fix for app/router's DomainMatcher condition

* Fix code quality issue

* Fix basic matcher issues

* Update priority specification for Substr matcher
2021-10-31 18:01:13 +08:00
..
benchmark_test.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
indexmatcher_linear_test.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
indexmatcher_linear.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
indexmatcher_mph.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
matchergroup_ac_automation_test.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
matchergroup_ac_automation.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
matchergroup_domain_test.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
matchergroup_domain.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
matchergroup_full_test.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
matchergroup_full.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
matchergroup_mph_test.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
matchergroup_mph.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
matchergroup_simple_test.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
matchergroup_simple.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
matchergroup_substr_test.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
matchergroup_substr.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
matchers_test.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
matchers.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
strmatcher.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00