1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-28 14:56:33 -04:00
v2fly/app/router
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
..
command Reformat code 2021-10-28 18:34:19 +08:00
routercommon add ip preprocessor logic 2021-09-18 21:04:30 +01:00
balancing_override.go incorporate changes in router implementation 2021-09-04 11:12:32 +01:00
balancing.go incorporate changes in router implementation 2021-09-04 11:12:32 +01:00
condition_geoip_test.go Reformat code 2021-10-28 18:34:19 +08:00
condition_geoip.go Reformat code 2021-10-28 18:34:19 +08:00
condition_test.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
condition.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
config.go Refactor: strmatcher module (#1333) 2021-10-31 18:01:13 +08:00
config.pb.go use custom loading rules for router 2021-09-09 14:45:19 +01:00
config.proto use custom loading rules for router 2021-09-09 14:45:19 +01:00
errors.generated.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
router_test.go Reformat code 2021-10-28 18:34:19 +08:00
router.go Reformat code 2021-10-28 18:34:19 +08:00
strategy_leastload_test.go incorporate changes in router implementation 2021-09-04 11:12:32 +01:00
strategy_leastload.go Reformat code 2021-10-28 18:34:19 +08:00
strategy_leastping.go Reformat code 2021-10-28 18:34:19 +08:00
strategy_random.go register strategy config 2021-09-07 11:48:24 +01:00
weight_test.go v5: Health Check & LeastLoad Strategy (rebased from 2c5a714903) 2021-09-04 11:11:45 +01:00
weight.go v5: Health Check & LeastLoad Strategy (rebased from 2c5a714903) 2021-09-04 11:11:45 +01:00