sing-box/option/tun_platform.go

15 lines
404 B
Go
Raw Normal View History

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