-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V5: ping & links command #485
Conversation
The CGO_ENABLED=0 go build -o v2ctl -trimpath -ldflags "-s -w -buildid=" -tags confonly ./infra/control/main failed because there is a build tag |
We are advancing v2fly/v2fly-github-io#26 |
Thanks again for your reply. Now that we have come to this part, shall we remove v2ctl now? #488 |
@kslr I feel it's pretty good. Did you suggest that we should only support the official link format? Regarding to my type Link interface {
Tag() string
Detail() string
ToOutbound() *conf.OutboundDetourConfig
} Works for Parsing procedure of |
Yes, I personally don't like the format of NG(other etc) |
@kslr Of course. How? |
6cc702d
to
45aff2e
Compare
这个PR目标是添加
这样,这个PR可以绕开对官方格式进展的依赖,可以考虑先提交。
若是认为以下说法成立,请考虑合并此PR:
若否,如一开始所说的,我留作个人用途。 |
019bb09
to
4711338
Compare
4711338
to
5715cc5
Compare
Why closed? |
I realized that:
|
This PR add 2 commands
ping
&links
.Useful?
Together with commands from recent PRs, v2ray now can:
v2ray links -u <url>
, save to: a.json, b.json...v2ray ping a.json
,v2ray ping b.json
...v2ray api ado a.json
v2ray api rmo b.json
I was hesitated to start this PR. If you have any concerns, like:
vmess://
links is not officially supportedvmessping
project, but you may still want to keep it as an independent projectIf so, feel free to close it, I am continue to keep them for my personal use.
### PS: Anyone knows why the test build are all failed??