Commit Graph

63 Commits

Author SHA1 Message Date
Shelikhoo cb84b28de4
Update generated protobuf files to v1.31.0 2023-10-24 19:50:30 +01:00
Shelikhoo 137cd7093c
chore: regenerate protobuf file 2022-09-06 20:36:27 +01:00
Shelikhoo 3ef7feaeaf
update version: auto replacement to v5 path 2022-01-02 15:16:23 +00:00
秋のかえで 423d566024
fix typo 2021-12-23 13:14:43 +08:00
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
Shelikhoo 434d9e8700
add grpc service register 2021-09-07 14:43:45 +01:00
Shelikhoo 8c857858dc
added implementation registration for stats: auto generated 2021-09-06 14:02:13 +01:00
Shelikhoo 78ef0c89b5
added implementation registration for stats 2021-09-06 14:02:00 +01:00
Shelikhoo e0700ccc4b
regenerate protobuf file 2021-09-04 11:26:13 +01:00
Shelikhoo 1531cb0ca4
update protobuf version 2021-09-04 11:13:51 +01:00
Jebbs 2523d77919
improve commands
(rebased from ebbf31f07e)
2021-09-04 11:11:45 +01:00
Jebbs b05a469488
v5: Remove v2ctl & wv2ray (rebased from 7c1ab06206) 2021-09-04 11:09:55 +01:00
database64128 c78ee5aac7
🏡 Housekeeping: Update to Go 1.17 (#1215)
* ⬆ Update to Go 1.17

* 🏗 Update workflows and add windows-arm64

* 💾 Update generated files

* 📛 Update not-so-friendly filenames
2021-08-21 13:20:40 +08:00
Shelikhoo 1409be04c2
regenerate protobuf files 2021-07-01 18:58:48 +01:00
Loyalsoldier 9e9173acb4
Chore: update protobuf & dependencies (#793)
* Chore: update protobuf
* Chore: regenerate mock files
* Chore: update dependencies
* Chore: use Go v1.16.2 and later
2021-03-18 12:17:26 +08:00
Loyalsoldier e03947e6b0
Chore: update protobuf & dependencies (#748) 2021-03-08 05:12:27 +08:00
Loyalsoldier 49cf614346
Chore: update dependencies & protobuf (#728) 2021-03-03 17:31:53 +08:00
Loyalsoldier f94dd11a8c
Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
Loyalsoldier f98944c9e0
Chore: update protobuf (#670) 2021-02-11 14:57:20 +08:00
Loyalsoldier f17063a08a
Update vprotogen (#366)
* Refine vprotogen
* Regenerate pb.go files
2020-10-29 09:27:05 +08:00
loyalsoldier 784775f689
Refine code according to golangci-lint results 2020-10-11 19:22:46 +08:00
Loyalsoldier 454528353d
Fix misspelling according to goreportcard result (#282) 2020-10-08 08:53:15 +08:00
Loyalsoldier bb44d01096
Format proto files using clang-format according to google style (#264)
* Format proto files using clang-format according to google style
* Regenerate pb.go files
2020-10-05 08:36:40 +08:00
loyalsoldier b181045b0c
Errorgen: support to run outside of GOPATH 2020-10-04 13:06:12 +08:00
Loyalsoldier 088ce4ed95
Refine proto.go due to protoc-gen-go-grpc update (#257)
* Refine: remove protoc-gen-go-grpc specific version
* pb.go: regenerate due to proto.go refresh
2020-10-04 05:43:26 +08:00
Ye Zhihao 67f409de04
Stats: Implements blocking/non-blocking messaging of Channel (#250) 2020-10-03 03:06:32 +08:00
Vigilans fa37f82b89 Stats: Add ChannelConfig & Return error on subscription 2020-09-23 22:35:13 +08:00
Vigilans 4fca2fe940 Implement common.Runnable for stats.Channel feature 2020-09-15 23:04:26 +08:00
Vigilans 0406cd896b Add UnregisterChannel & Modify unregistering logic 2020-09-09 11:33:29 +08:00
Loyalsoldier d7c99c901a
Fix: app/stats.Manager does not implement features/stats.Manager (#171) 2020-09-09 11:26:23 +08:00
Vigilans bff96a7a52 Support Channel (Observer Pattern) in Stats Manager 2020-09-04 15:07:42 +08:00
Loyalsoldier ef460f68f8
Adjust Protocol Buffers (#109)
* Update protoc binary executable files to v3.13.0

* Write proto files in more standard way

* Make go generate & vprotogen compatible with protoc-gen-gofast

* Regenerate pb.go files according to new proto files

* Clean go.sum by running go mod tidy

* Implement mustEmbedUnimplementedServiceServer for gPRC services
2020-08-24 12:10:26 +00:00
Shelikhoo 00103d1f73
Fix tests 2020-06-08 16:16:50 +08:00
Shelikhoo 09b81b78c3
regenerate pb data 2020-06-08 16:16:32 +08:00
vcptr 01e3a5f809 add StatsService.GetSysStats 2019-07-08 14:12:17 +08:00
Darien Raymond 932e09a388
remove dep of assert lib 2019-02-09 15:46:48 +01:00
Darien Raymond bdd71a44b4
remove dep on assert lib 2019-02-02 22:19:30 +01:00
Darien Raymond 1ab94fed79
optimize v2ctl size 2019-02-01 20:08:21 +01:00
Darien Raymond 163776b182
remove dependency on assert lib 2019-01-08 23:27:02 +01:00
Darien Raymond 057e271588
update proto lib 2018-12-01 17:39:51 +01:00
Darien Raymond f122d0e518
update proto generated files 2018-10-24 12:02:48 +02:00
Darien Raymond 9e66f315e6
update mocks 2018-10-23 22:41:27 +02:00
Darien Raymond 4988b5ad9a
update protbuf gen files 2018-10-23 22:36:33 +02:00
Darien Raymond 307aac26b3
simplify dependency resolution 2018-10-22 11:26:22 +02:00
Darien Raymond a5dcb0f13e
refactor dependency resolution 2018-10-21 10:27:13 +02:00
Darien Raymond d730637239
Require Type() for Feature 2018-10-12 23:57:56 +02:00
Darien Raymond 273342d0b9
move stats and inbound to features directory 2018-10-11 21:14:53 +02:00
Darien Raymond 091fa6ad23
use new errorgen 2018-09-30 23:08:41 +02:00
Darien Raymond 56ce5d5f84
use new context 2018-09-30 23:08:14 +02:00
Darien Raymond d55fbd7f8d
simplify error creation 2018-09-30 18:39:53 +02:00