tun_platform.go 404 B

1234567891011121314
  1. package option
  2. import "github.com/sagernet/sing/common/json/badoption"
  3. type TunPlatformOptions struct {
  4. HTTPProxy *HTTPProxyOptions `json:"http_proxy,omitempty"`
  5. }
  6. type HTTPProxyOptions struct {
  7. Enabled bool `json:"enabled,omitempty"`
  8. ServerOptions
  9. BypassDomain badoption.Listable[string] `json:"bypass_domain,omitempty"`
  10. MatchDomain badoption.Listable[string] `json:"match_domain,omitempty"`
  11. }