Skip to content

Commit

Permalink
hotfix: some docs and code format
Browse files Browse the repository at this point in the history
  • Loading branch information
DVKunion committed Jul 7, 2023
1 parent bc209a9 commit c316527
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,14 @@ on:
branches: [ main ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18

- name: Build
run: go build --ldflags "-s -w -X github.com/DVKunion/SeaMoon/pkg/consts.Version=${{github.ref_name}}" cmd/client.go

4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
id: go

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand All @@ -29,4 +27,4 @@ jobs:
args: -f .github/conf/.goreleaser.yml
workdir: .
env:
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion cmd/aliyun_server.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package main

import (
"os"

"github.com/DVKunion/SeaMoon/pkg/consts"
"github.com/DVKunion/SeaMoon/pkg/server"
"os"
)

func main() {
Expand Down
8 changes: 6 additions & 2 deletions docs/guide/03.客户端/02.客户端配置.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ article: false

添加云端配置

![](https://cdn.dvkunion.cn/seamoon/5e79ecb2bd374dbe9d89f33f750e2f42.png)
![](https://cdn.dvkunion.cn/seamoon/dfcc22b01c4a4f358bdee59acc5c563b.png)

> 这里注意不需要带协议了,请使用完整的域名即可如:
> http-proxy.seamoon-service.xxxxxx.xxxx.fc.devsapp.net
> socks-proxy.seamoon-service.xxxxxxxx.xxxxxx.fc.devsapp.net
然后按照你的需求,选在开启本地的http代理/socks5代理

Expand Down Expand Up @@ -64,6 +68,6 @@ v1.0.0 中,客户端运行后,会自动在运行目录下生成证书文件
| proxy | 客户端运行模式: 代理模式 ||
| -m / --mod | 代理模式 :http/socks5 | http |
| -l / --laddr | 本地代理地址: 127.0.0.1:9000 | :9000 |
| -p / --paddr | 云端代理地址: http://xxxxxxx.xxxx.xxxx | ws://xxxxxxx.xxxx.xxxx ||
| -p / --paddr | 云端代理地址: xxxxxxx.xxxx.xxxx | ws://xxxxxxx.xxxx.xxxx ||
| -v /--verbose | 是否展示代理日志详情 | false |

0 comments on commit c316527

Please sign in to comment.