docs(moona): README

This commit is contained in:
mzz2017 committed 2020-05-18 03:22:36 +08:00
1 parent 9941342245
commit a74cf494cb
2 files changed
+5 -10

No files matched your search

-4
View File
@@ -13,9 +13,6 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
- uses: actions/checkout@v2
- name: Set up Docker Buildx
id: buildx
@@ -26,5 +23,4 @@ jobs:
- name: Build the Docker image
run: |
docker login -u ${{secrets.DOCKER_USERNAME}} -p ${{secrets.DOCKER_PASSWORD}}
v=$(echo ${{ steps.get_version.outputs.VERSION }} | cut -c2-)
docker buildx build -t mzz2017/moona:latest -f Dockerfile.moona --platform=linux/arm,linux/arm64,linux/amd64 . --push
+5 -6
View File
@@ -1,6 +1,6 @@
# moona
A Fast and Convenient Cross-Protocols latency tester built with love in Go.
A Fast and Convenient Cross-Protocols Latency Tester built with love in Go.
## Usage
@@ -15,15 +15,15 @@ Usage of moona:
-h, --help print this help menu
```
### single test
### Single test
```bash
$ docker run --rm mzz2017/moona --link ss://***@***:***
Importing ss://***@***:***
Test done[1]248ms: ss://***@***:***
```
### batch test
**from subscription link**
### Batch test
**From subscription link**
```bash
$ docker run --rm mzz2017/moona --link https://**********
Importing https://**********
@@ -32,7 +32,7 @@ Test done[3]896ms: vmess://**********
Test done[2]1115ms: vmess://**********
```
**from file**
**From file**
```bash
$ cat f.txt
vmess://**********
@@ -41,7 +41,6 @@ ss://***@***:***
trojan://***@***:***?allowInsecure=false
$ docker run --rm -v $(pwd)/f.txt:/f.txt mzz2017/moona --file /f.txt
Importing https://**********
Test done[1]338ms: vmess://**********
Test done[4]288ms: trojan://***@***:***?allowInsecure=false
Test done[3]266ms: ss://***@***:***