mirror of
https://github.com/XrayR-project/XrayR-doc.git
synced 2025-06-09 05:59:51 +00:00
add document for trojan-go
This commit is contained in:
parent
cd66054e3a
commit
ff842a5eea
@ -68,8 +68,9 @@ A Xray backend framework that can easily support many panels.
|
||||
## Trojan支持协议
|
||||
|
||||
| 协议 | 支持情况 |
|
||||
| :----- | :------- |
|
||||
| :-------- | :------- |
|
||||
| Trojan | √ |
|
||||
| Trojan-go | ws, grpc |
|
||||
|
||||
## Shadowsocks支持协议
|
||||
|
||||
|
@ -180,6 +180,18 @@ alterId设为0,则自动启用VMessAEAD。
|
||||
}
|
||||
```
|
||||
|
||||
## Trojan-go ws示例
|
||||
|
||||
``` json
|
||||
{
|
||||
"offset_port_node": 443,
|
||||
"server_sub": "hk.domain.com",
|
||||
"host": "hk.domain.com",
|
||||
"network": "ws",
|
||||
"path": "/path"
|
||||
}
|
||||
```
|
||||
|
||||
## 中转示例
|
||||
在任一配置中设置`offset_port_user`为用户连接端口
|
||||
``` json
|
||||
|
Loading…
x
Reference in New Issue
Block a user