github.com/sagernet/sing-box@v1.9.0-rc.20/option/group.go (about)

     1  package option
     2  
     3  type SelectorOutboundOptions struct {
     4  	Outbounds                 []string `json:"outbounds"`
     5  	Default                   string   `json:"default,omitempty"`
     6  	InterruptExistConnections bool     `json:"interrupt_exist_connections,omitempty"`
     7  }
     8  
     9  type URLTestOutboundOptions struct {
    10  	Outbounds                 []string `json:"outbounds"`
    11  	URL                       string   `json:"url,omitempty"`
    12  	Interval                  Duration `json:"interval,omitempty"`
    13  	Tolerance                 uint16   `json:"tolerance,omitempty"`
    14  	IdleTimeout               Duration `json:"idle_timeout,omitempty"`
    15  	InterruptExistConnections bool     `json:"interrupt_exist_connections,omitempty"`
    16  }