mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-29 20:11:28 +00:00
20 lines
571 B
Go
20 lines
571 B
Go
|
package option
|
||
|
|
||
|
type ClashAPIOptions struct {
|
||
|
ExternalController string `json:"external_controller,omitempty"`
|
||
|
ExternalUI string `json:"external_ui,omitempty"`
|
||
|
Secret string `json:"secret,omitempty"`
|
||
|
}
|
||
|
|
||
|
type SelectorOutboundOptions struct {
|
||
|
Outbounds []string `json:"outbounds"`
|
||
|
Default string `json:"default,omitempty"`
|
||
|
}
|
||
|
|
||
|
type URLTestOutboundOptions struct {
|
||
|
Outbounds []string `json:"outbounds"`
|
||
|
URL string `json:"url,omitempty"`
|
||
|
Interval Duration `json:"interval,omitempty"`
|
||
|
Tolerance uint16 `json:"tolerance,omitempty"`
|
||
|
}
|