|
@@ -120,17 +120,18 @@ func (h *Outbound) UnmarshalJSON(bytes []byte) error {
|
|
|
}
|
|
|
|
|
|
type DialerOptions struct {
|
|
|
- Detour string `json:"detour,omitempty"`
|
|
|
- BindInterface string `json:"bind_interface,omitempty"`
|
|
|
- BindAddress *ListenAddress `json:"bind_address,omitempty"`
|
|
|
- ProtectPath string `json:"protect_path,omitempty"`
|
|
|
- RoutingMark int `json:"routing_mark,omitempty"`
|
|
|
- ReuseAddr bool `json:"reuse_addr,omitempty"`
|
|
|
- ConnectTimeout Duration `json:"connect_timeout,omitempty"`
|
|
|
- TCPFastOpen bool `json:"tcp_fast_open,omitempty"`
|
|
|
- UDPFragment bool `json:"udp_fragment,omitempty"`
|
|
|
- DomainStrategy DomainStrategy `json:"domain_strategy,omitempty"`
|
|
|
- FallbackDelay Duration `json:"fallback_delay,omitempty"`
|
|
|
+ Detour string `json:"detour,omitempty"`
|
|
|
+ BindInterface string `json:"bind_interface,omitempty"`
|
|
|
+ BindAddress *ListenAddress `json:"bind_address,omitempty"`
|
|
|
+ ProtectPath string `json:"protect_path,omitempty"`
|
|
|
+ RoutingMark int `json:"routing_mark,omitempty"`
|
|
|
+ ReuseAddr bool `json:"reuse_addr,omitempty"`
|
|
|
+ ConnectTimeout Duration `json:"connect_timeout,omitempty"`
|
|
|
+ TCPFastOpen bool `json:"tcp_fast_open,omitempty"`
|
|
|
+ UDPFragment *bool `json:"udp_fragment,omitempty"`
|
|
|
+ UDPFragmentDefault bool `json:"-"`
|
|
|
+ DomainStrategy DomainStrategy `json:"domain_strategy,omitempty"`
|
|
|
+ FallbackDelay Duration `json:"fallback_delay,omitempty"`
|
|
|
}
|
|
|
|
|
|
type ServerOptions struct {
|