mirror of
https://github.com/v2rayA/v2rayA.git
synced 2024-11-25 16:34:19 +08:00
.. | ||
config | ||
.gitignore | ||
go.mod | ||
go.sum | ||
main.go | ||
README.md |
moona
A Fast and Convenient Multi-Protocols Latency Tester built in Go.
Usage
$ docker run --rm mzz2017/moona --help
Usage of moona:
-f, --file string input file where share-links are split by lines
-l, --link string subscription link or share-link
-t, --timeout int test timeout(ms) (default 10000)
-p, --parallel int the max number of parallel tests (default 5)
-h, --help print this help menu
Single test
$ docker run --rm mzz2017/moona --link ss://***@***:***
Importing ss://***@***:***
Test done[1]248ms: ss://***@***:***
Batch test
From subscription link
$ docker run --rm mzz2017/moona --link https://**********
Importing https://**********
Test done[1]308ms: vmess://**********
Test done[3]896ms: vmess://**********
Test done[2]1115ms: vmess://**********
From file
$ cat f.txt
vmess://**********
ssr://**********
ss://***@***:***
trojan://***@***:***?allowInsecure=false
$ docker run --rm -v $(pwd)/f.txt:/f.txt mzz2017/moona --file /f.txt
Test done[2]188ms: ssr://**********
Test done[3]266ms: ss://***@***:***
Test done[4]288ms: trojan://***@***:***?allowInsecure=false
Test done[1]338ms: vmess://**********