mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-30 04:21:29 +00:00
35 lines
527 B
Markdown
35 lines
527 B
Markdown
|
### Structure
|
||
|
|
||
|
```json
|
||
|
{
|
||
|
"outbounds": [
|
||
|
{
|
||
|
"type": "selector",
|
||
|
"tag": "select",
|
||
|
|
||
|
"outbounds": [
|
||
|
"proxy-a",
|
||
|
"proxy-b",
|
||
|
"proxy-c"
|
||
|
],
|
||
|
"default": "proxy-c"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
```
|
||
|
|
||
|
!!! error ""
|
||
|
|
||
|
The selector can only be controlled through the [Clash API](/configuration/experimental#clash-api-fields) currently.
|
||
|
|
||
|
### Fields
|
||
|
|
||
|
#### outbounds
|
||
|
|
||
|
==Required==
|
||
|
|
||
|
List of outbound tags to select.
|
||
|
|
||
|
#### default
|
||
|
|
||
|
The default outbound tag. The first outbound will be used if empty.
|