Fix documentation

This commit is contained in:
世界
2023-02-18 19:27:22 +08:00
parent 67814faf92
commit 123c383eae
4 changed files with 12 additions and 8 deletions

View File

@@ -7,7 +7,7 @@
... // Listen Fields
"version": 2,
"version": 3,
"password": "fuck me till the daylight",
"handshake": {
"server": "google.com",
@@ -32,12 +32,13 @@ ShadowTLS protocol version.
|---------------|-----------------------------------------------------------------------------------------|
| `1` (default) | [ShadowTLS v1](https://github.com/ihciah/shadow-tls/blob/master/docs/protocol-en.md#v1) |
| `2` | [ShadowTLS v2](https://github.com/ihciah/shadow-tls/blob/master/docs/protocol-en.md#v2) |
| `3` | [ShadowTLS v3](https://github.com/ihciah/shadow-tls/blob/master/docs/protocol-v3-en.md) |
#### password
Set password.
Only available in the ShadowTLS v2 protocol.
Only available in the ShadowTLS v2/v3 protocol.
#### handshake

View File

@@ -7,7 +7,7 @@
... // 监听字段
"version": 2,
"version": 3,
"password": "fuck me till the daylight",
"handshake": {
"server": "google.com",
@@ -32,12 +32,13 @@ ShadowTLS 协议版本。
|---------------|-----------------------------------------------------------------------------------------|
| `1` (default) | [ShadowTLS v1](https://github.com/ihciah/shadow-tls/blob/master/docs/protocol-en.md#v1) |
| `2` | [ShadowTLS v2](https://github.com/ihciah/shadow-tls/blob/master/docs/protocol-en.md#v2) |
| `3` | [ShadowTLS v3](https://github.com/ihciah/shadow-tls/blob/master/docs/protocol-v3-en.md) |
#### password
设置密码。
仅在 ShadowTLS v2 协议中可用。
仅在 ShadowTLS v2/v3 协议中可用。
#### handshake

View File

@@ -7,7 +7,7 @@
"type": "shadowtls",
"listen": "::",
"listen_port": 4443,
"version": 2,
"version": 3,
"password": "fuck me till the daylight",
"handshake": {
"server": "google.com",
@@ -47,7 +47,7 @@
"tag": "shadowtls-out",
"server": "127.0.0.1",
"server_port": 4443,
"version": 2,
"version": 3,
"password": "fuck me till the daylight",
"tls": {
"enabled": true,