tun_platform.go 327 B

123456789101112
  1. package option
  2. type TunPlatformOptions struct {
  3. HTTPProxy *HTTPProxyOptions `json:"http_proxy,omitempty"`
  4. }
  5. type HTTPProxyOptions struct {
  6. Enabled bool `json:"enabled,omitempty"`
  7. ServerOptions
  8. BypassDomain Listable[string] `json:"bypass_domain,omitempty"`
  9. MatchDomain Listable[string] `json:"match_domain,omitempty"`
  10. }