Skip to content

Commit bb4e469

Browse files
committed
init
1 parent 9164bc6 commit bb4e469

File tree

7 files changed

+32
-7
lines changed

7 files changed

+32
-7
lines changed

doc/file.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ROOT: /tmp/
2+
ERROR_LOG: error.log
3+
ACCESS_LOG: access.log
4+
LISTEN: 127.0.0.1:9191

doc/readme.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,19 @@ cd go-fileHttp-mac-v1.1
2323

2424

2525
#### default config
26+
```yaml
27+
ROOT: /tmp/
28+
ERROR_LOG: /tmp/vpn.log
29+
ACCESS_LOG: /tmp/vpn.log
30+
LISTEN: 127.0.0.1:9191
31+
```
32+
2633
| Key | Value |Describe |
2734
| ---------- | :-----------: | :-----------: |
2835
| ROOT_DIR | $HOME | User home directory |
2936
| ERROR_LOG | error.log | error log |
3037
| ERROR_LOG | access.log | access log |
31-
| LISTEN | 0.0.0.0:9191 | listen addres |
38+
| LISTEN | 127.0.0.1:9191 | listen addres |
3239
3340
3441
### required parameter

doc/readme_zh.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,20 @@ cd go-fileHttp-mac-v1.1
2020
./file_http
2121
```
2222

23-
24-
25-
26-
2723
#### 默认配置
24+
```yaml
25+
ROOT: /tmp/
26+
ERROR_LOG: /tmp/vpn.log
27+
ACCESS_LOG: /tmp/vpn.log
28+
LISTEN: 127.0.0.1:9191
29+
```
30+
2831
| Key | Value |Describe |
2932
| ---------- | :-----------: | :-----------: |
3033
| ROOT_DIR | $HOME | 用户家目录 |
3134
| ERROR_LOG | error.log | 日志 |
3235
| ERROR_LOG | access.log | 访问日志 |
33-
| LISTEN | 0.0.0.0:9191 | 监听地址 |
36+
| LISTEN | 127.0.0.1:9191 | 监听地址 |
3437
3538
3639
### 请求头参数

file.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ROOT: /tmp/
2+
ERROR_LOG: error.log
3+
ACCESS_LOG: access.log
4+
LISTEN: 127.0.0.1:9191

file_http

-10.8 MB
Binary file not shown.

file_http.exe

3.9 MB
Binary file not shown.

readme.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,19 @@ cd go-fileHttp-mac-v1.1
2323

2424

2525
#### default config
26+
```yaml
27+
ROOT: /tmp/
28+
ERROR_LOG: /tmp/vpn.log
29+
ACCESS_LOG: /tmp/vpn.log
30+
LISTEN: 127.0.0.1:9191
31+
```
32+
2633
| Key | Value |Describe |
2734
| ---------- | :-----------: | :-----------: |
2835
| ROOT_DIR | $HOME | User home directory |
2936
| ERROR_LOG | error.log | error log |
3037
| ERROR_LOG | access.log | access log |
31-
| LISTEN | 0.0.0.0:9191 | listen addres |
38+
| LISTEN | 127.0.0.1:9191 | listen addres |
3239
3340
3441
### required parameter

0 commit comments

Comments
 (0)