Update documentation

This commit is contained in:
世界 2023-02-18 12:16:16 +08:00
parent 87e0dddae5
commit e7d5fe4640
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
2 changed files with 6 additions and 4 deletions

View File

@ -7,7 +7,7 @@
"server": "127.0.0.1", "server": "127.0.0.1",
"server_port": 1080, "server_port": 1080,
"version": 2, "version": 3,
"password": "fuck me till the daylight", "password": "fuck me till the daylight",
"tls": {}, "tls": {},
@ -37,12 +37,13 @@ ShadowTLS protocol version.
|---------------|-----------------------------------------------------------------------------------------| |---------------|-----------------------------------------------------------------------------------------|
| `1` (default) | [ShadowTLS v1](https://github.com/ihciah/shadow-tls/blob/master/docs/protocol-en.md#v1) | | `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) | | `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 #### password
Set password. Set password.
Only available in the ShadowTLS v2 protocol. Only available in the ShadowTLS v2/v3 protocol.
#### tls #### tls

View File

@ -7,7 +7,7 @@
"server": "127.0.0.1", "server": "127.0.0.1",
"server_port": 1080, "server_port": 1080,
"version": 2, "version": 3,
"password": "fuck me till the daylight", "password": "fuck me till the daylight",
"tls": {}, "tls": {},
@ -37,12 +37,13 @@ ShadowTLS 协议版本。
|---------------|-----------------------------------------------------------------------------------------| |---------------|-----------------------------------------------------------------------------------------|
| `1` (default) | [ShadowTLS v1](https://github.com/ihciah/shadow-tls/blob/master/docs/protocol-en.md#v1) | | `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) | | `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 #### password
设置密码。 设置密码。
仅在 ShadowTLS v2 协议中可用。 仅在 ShadowTLS v2/v3 协议中可用。
#### tls #### tls