Add protect path dialer option

This commit is contained in:
世界
2022-07-06 14:45:56 +08:00
parent dcd7ca78fc
commit 46f28a9de9
4 changed files with 61 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ func (h *Outbound) UnmarshalJSON(bytes []byte) error {
type DialerOptions struct {
Detour string `json:"detour,omitempty"`
BindInterface string `json:"bind_interface,omitempty"`
ProtectPath string `json:"protect_path,omitempty"`
RoutingMark int `json:"routing_mark,omitempty"`
ReuseAddr bool `json:"reuse_addr,omitempty"`
ConnectTimeout int `json:"connect_timeout,omitempty"`