mirror of https://github.com/cppla/ServerStatus
更新说明文件
parent
fde504da56
commit
c659ea5894
|
@ -3,13 +3,19 @@
|
||||||
懒得改项目名了,需要的话自己改。
|
懒得改项目名了,需要的话自己改。
|
||||||
|
|
||||||
### 使用方法
|
### 使用方法
|
||||||
可选:更改源码中的连接信息
|
|
||||||
|
非必须:可通过配置文件更改信息
|
||||||
|
~~可选:更改源码中的连接信息~~
|
||||||
|
|
||||||
```
|
```
|
||||||
# go env -w GOPROXY=https://goproxy.cn,direct (速度慢可以换源)
|
# go env -w GOPROXY=https://goproxy.cn,direct (速度慢可以换源)
|
||||||
go build .
|
go build .
|
||||||
./awesomeProject
|
./awesomeProject
|
||||||
# 更改链接参数
|
# 更改链接参数
|
||||||
./awesomeProject --SERVER=127.0.0.1 --PORT=35601 --USER=test --PASSWORD=test1234 --INTERVAL=1
|
./awesomeProject --SERVER=127.0.0.1 --PORT=35601 --USER=test --PASSWORD=test1234 --INTERVAL=1
|
||||||
|
# 如果需要后运行,请使用 nohop
|
||||||
|
nohop ./awesomeProject &
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### TODO
|
### TODO
|
||||||
|
|
Loading…
Reference in New Issue