1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-10 09:50:43 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
Jebbs
7c1ab06206
v5: Remove v2ctl & wv2ray (#488)
* remove v2ctl, wv2ray
* remove v2ctl, wv2ray build scripts
* remove infra/control/main
* remove !confonly flag
* remove ctlcmd package
* remove Confgi.Override func
* move commands package into main
2020-12-04 22:32:55 +08:00
Jebbs
521120d196
go style commands, merge v2ctl commands, v5 oriented (#369)
* go style commands
merge v2ctl commandsw

* migrate go style commands to v2ctl

* fixes & code optimize

* sort the commands

* update commands description

* restore old proto
golang.org proto has removed UnmarshalText, without alternative

* add test command

* remove unused code

* code optimize and fix
* The commit simplifies the run and test commands code,
* Fixes a hidden issue that the format flag not applied in command "v2ray test -format=pb ..."

* fix default loader logic
2020-11-23 23:38:43 +08:00
Loyalsoldier
b68f943c78
Fix lint according to golangci-lint (#439) 2020-11-22 05:05:01 +08:00
kslr
3c6e11673f revert: support yaml config 2020-10-20 14:01:16 +08:00
ayanamist
5230dfb71e
Support YAML config through JSON (#331) 2020-10-19 07:28:33 +08:00
loyalsoldier
784775f689
Refine code according to golangci-lint results 2020-10-11 19:22:46 +08:00
loyalsoldier
b181045b0c
Errorgen: support to run outside of GOPATH 2020-10-04 13:06:12 +08:00
Agioi Theodoroi
37a55653e9
remove unused parameter 2020-06-27 07:51:44 +08:00
Agioi Theodoroi
97074c5bf4
gofmt 2020-06-27 07:51:43 +08:00
vcptr
0fd0c374c1 fix config compatibility with old inbound/inboundDetors/out 2020-03-24 21:52:03 +08:00
vcptr
94ea326d89 fix confdir env startup priority 2020-03-24 21:52:03 +08:00
Shelikhoo
e61b44ff78
Fix Test Parse flag before flag defined by V2 in main 2020-03-23 11:34:53 +08:00
vcptr
0d71d3dcf8 revert back to multiconfig 2020-03-19 19:11:16 +08:00
Kslr
fdbec9a141
Revert "multiple config" 2020-01-02 01:23:56 +08:00
Kslr
e6f226c64d
Revert "add arg -confdir" 2020-01-02 01:14:36 +08:00
vcptr
e50afd6e44 trim err msg 2019-12-31 13:29:25 +08:00
vcptr
c3f55dcd67 filter .json in confDir 2019-12-31 13:11:34 +08:00
vcptr
5ae47d45c2 multiconf with -confdir arg 2019-12-31 11:45:19 +08:00
vcptr
f14eb97e3c rearrange loader 2019-12-16 10:22:17 +08:00
vcptr
1bb34bfe17 abstract type for conf load func 2019-12-14 23:48:56 +08:00
vcptr
1e76123a4c main loads multiple 2019-12-14 23:48:56 +08:00
Darien Raymond
769eeb0efd
remove plugin support as it is not practical 2018-12-07 09:50:11 +01:00
Darien Raymond
d4613f156b
defer at right place 2018-12-04 14:16:31 +01:00
Darien Raymond
0bc22154e5
defer server close 2018-12-04 14:15:35 +01:00
Darien Raymond
14646940a0
trigger GC after loading 2018-11-16 17:17:11 +01:00
Darien Raymond
091fa6ad23
use new errorgen 2018-09-30 23:08:41 +02:00
Darien Raymond
8b8ae8342b
prevent systemd from restarting when configuration error 2018-07-17 11:53:36 +02:00
Darien Raymond
286e9a3835
conf loader as component 2018-04-09 11:43:13 +02:00
Darien Raymond
b7f2f30244
support fetching config from http 2018-04-08 23:22:55 +02:00
Darien Raymond
242e65e424
move Println to main 2018-02-16 14:03:55 +01:00
Darien Raymond
2a07838bb9
extendable config format 2018-02-14 23:57:40 +01:00
Darien Raymond
53b0f91873
add env variable for config file 2017-12-05 11:58:12 +01:00
Darien Raymond
d43a23aa96
move error generator to common 2017-12-03 01:04:57 +01:00
Darien Raymond
5f91257018
fix error message 2017-11-27 23:00:36 +01:00
Darien Raymond
47126cc632
exit immediately on error 2017-11-23 10:39:40 +01:00
Darien Raymond
6069b77baa
prototype for plugins 2017-11-22 23:00:46 +01:00
Darien Raymond
35248497d2
refactor error messages 2017-04-09 01:43:25 +02:00
Darien Raymond
fc31f9b94c
refactor error interface 2017-04-06 15:13:09 +02:00
Darien Raymond
16ce077d58
rename server 2017-04-05 23:38:37 +02:00
Darien Raymond
722594cb79
hide server implementation detail 2017-02-22 11:30:52 +01:00
Darien Raymond
d3d2fab1d9
refine error messages 2017-02-02 14:42:31 +01:00
Darien Raymond
2f771e7742
fix test break 2017-02-01 21:47:02 +01:00
Darien Raymond
0d62975286
decouple all 2016-12-16 23:38:58 +01:00
Darien Raymond
36cc6f5ef2
remove unused code 2016-11-21 23:27:32 +01:00
Darien Raymond
5a32cd8602
remove large buffer 2016-11-19 01:50:09 +01:00
Darien Raymond
e33b7df34c
remove use of any 2016-10-16 14:22:21 +02:00
Darien Raymond
84f660bbbc
update main code 2016-10-14 23:41:17 +02:00
Darien Raymond
c1f91567ad
refactor shell 2016-10-12 16:46:02 +02:00