group.go 691 B

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