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