v2rayA/cmd/moona
2021-07-19 21:28:02 +08:00
..
config
.gitignore chore: moona 2021-07-19 21:28:02 +08:00
go.mod fix: moona cannot work 2020-10-25 16:48:08 +08:00
go.sum chore: moona 2021-07-19 21:28:02 +08:00
main.go chore: reorganize directory structure 2021-05-02 14:38:33 +08:00
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://**********