2023-11-28 04:00:28 +00:00
|
|
|
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"`
|
2023-12-03 03:57:53 +00:00
|
|
|
IdleTimeout Duration `json:"idle_timeout,omitempty"`
|
2023-11-28 04:00:28 +00:00
|
|
|
InterruptExistConnections bool `json:"interrupt_exist_connections,omitempty"`
|
|
|
|
}
|