mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-27 16:15:39 +08:00
36 lines
492 B
Markdown
36 lines
492 B
Markdown
### 结构
|
|
|
|
```json
|
|
{
|
|
"outbounds": [
|
|
{
|
|
"type": "selector",
|
|
"tag": "select",
|
|
|
|
"outbounds": [
|
|
"proxy-a",
|
|
"proxy-b",
|
|
"proxy-c"
|
|
],
|
|
"default": "proxy-c"
|
|
}
|
|
]
|
|
}
|
|
```
|
|
|
|
!!! error ""
|
|
|
|
选择器目前只能通过 [Clash API](/zh/configuration/experimental#clash-api) 来控制。
|
|
|
|
### 字段
|
|
|
|
#### outbounds
|
|
|
|
==必填==
|
|
|
|
用于选择的出站标签列表。
|
|
|
|
#### default
|
|
|
|
默认的出站标签。默认使用第一个出站。
|