sing-box/option/tun_platform.go

15 lines
404 B
Go
Raw Normal View History

2023-02-28 11:02:27 +00:00
package option
2024-11-07 13:44:04 +00:00
import "github.com/sagernet/sing/common/json/badoption"
2023-02-28 11:02:27 +00:00
type TunPlatformOptions struct {
HTTPProxy *HTTPProxyOptions `json:"http_proxy,omitempty"`
}
type HTTPProxyOptions struct {
Enabled bool `json:"enabled,omitempty"`
ServerOptions
2024-11-07 13:44:04 +00:00
BypassDomain badoption.Listable[string] `json:"bypass_domain,omitempty"`
MatchDomain badoption.Listable[string] `json:"match_domain,omitempty"`
2023-02-28 11:02:27 +00:00
}