mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-10 02:53:12 +00:00
16 lines
623 B
Go
16 lines
623 B
Go
|
package option
|
||
|
|
||
|
type SelectorOutboundOptions struct {
|
||
|
Outbounds []string `json:"outbounds"`
|
||
|
Default string `json:"default,omitempty"`
|
||
|
InterruptExistConnections bool `json:"interrupt_exist_connections,omitempty"`
|
||
|
}
|
||
|
|
||
|
type URLTestOutboundOptions struct {
|
||
|
Outbounds []string `json:"outbounds"`
|
||
|
URL string `json:"url,omitempty"`
|
||
|
Interval Duration `json:"interval,omitempty"`
|
||
|
Tolerance uint16 `json:"tolerance,omitempty"`
|
||
|
InterruptExistConnections bool `json:"interrupt_exist_connections,omitempty"`
|
||
|
}
|