Go to file
Jebbs ebbf31f07e
improve commands (#648)
* stat show json refactor
> will show {} since scripts should expect it, its the json style of blank value

* combine statistics commands to one

* code optimize

* fix runtime flag

* remove json indent

* change overridden to override

* api bi -json

* convert stdin support
code optimize

* writeRow() code optimize
add stats tittle
revert back to restartlogger

* api log -restart

* follow log

* codeql

* move -json to shared flags

* flags optimize
* update flag descriptions
* change "-v" of "api bo" to duration
* change "-expire" of "tls cert" to days

* cmds short description optimize

* fix multiple log followers

* Format loader refactor
* "infra/conf/merge" refactor
* "LoadConfig" refactor
* add "infra/conf/mergers"
    * contribute to it will benifit `v2ray run`,`v2ray test`,`v2ray convert`
    * easily add new formats, by just adding a converter like json.FromTOML
* default format auto, to all cmds above
    * auto detect input format
    * mixed formats support
* better stdin behavior
    * don't wait if no content
    * don't use 'stdin:' placeholder
* `v2ray test` now behaves exactly the same with `v2ray run`, including stdin reading

* api ado, adi, rmo, rmi refactor
* support folders to files resolving, mixed formats
* remove remaining 'stdin:' placeholders

* fix tests
* os.Stdin.Stat() behaves different in platforms, removed

* code optimize

Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2021-02-21 23:02:42 +08:00
.github Merge branch 'master' into v5 2021-02-17 08:07:12 +08:00
app improve commands (#648) 2021-02-21 23:02:42 +08:00
common improve commands (#648) 2021-02-21 23:02:42 +08:00
features improve commands (#648) 2021-02-21 23:02:42 +08:00
infra improve commands (#648) 2021-02-21 23:02:42 +08:00
main improve commands (#648) 2021-02-21 23:02:42 +08:00
proxy Merge branch 'master' into v5 2021-02-17 08:07:12 +08:00
release Merge branch 'master' into v5 2021-02-17 08:07:12 +08:00
testing improve commands (#648) 2021-02-21 23:02:42 +08:00
transport Merge branch 'master' into v5 2021-02-17 08:07:12 +08:00
.gitignore Chore: refine .gitignore (#679) 2021-02-17 05:23:08 +08:00
LICENSE Chore: update LICENSE year (#680) 2021-02-17 05:27:52 +08:00
README.md Refine: readme packaging badge 2020-12-24 03:50:13 +08:00
SECURITY.md update security policy with renewed GPG pubkey 2020-11-08 03:54:22 -06:00
annotations.go API doc 2018-12-03 22:44:42 +01:00
config.go improve commands (#648) 2021-02-21 23:02:42 +08:00
config.pb.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
config.proto Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
context.go v5: Remove v2ctl & wv2ray (#488) 2020-12-04 22:32:55 +08:00
context_test.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
core.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
errors.generated.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
functions.go improve commands (#648) 2021-02-21 23:02:42 +08:00
functions_test.go improve commands (#648) 2021-02-21 23:02:42 +08:00
go.mod Merge branch 'master' into v5 2021-02-17 08:07:12 +08:00
go.sum Merge branch 'master' into v5 2021-02-17 08:07:12 +08:00
mocks.go Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
proto.go Update protobuf version (#527) 2020-12-20 10:50:46 +08:00
v2ray.go Merge branch 'master' into v5 2021-02-17 08:07:12 +08:00
v2ray_test.go improve commands (#648) 2021-02-21 23:02:42 +08:00

README.md

V2Ray

Project V

Project V is a set of network tools that helps you to build your own computer network. It secures your network connections and thus protects your privacy.

GitHub Test Badge codecov.io codebeat Codacy Badge Downloads

Packaging Status

If you are willing to package V2Ray for other distros/platforms, please let us know or seek for help via GitHub issues.

Packaging status

License

The MIT License (MIT)

Credits

This repo relies on the following third-party projects: