mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 18:11:28 +00:00
15 lines
404 B
Go
15 lines
404 B
Go
package option
|
|
|
|
import "github.com/sagernet/sing/common/json/badoption"
|
|
|
|
type TunPlatformOptions struct {
|
|
HTTPProxy *HTTPProxyOptions `json:"http_proxy,omitempty"`
|
|
}
|
|
|
|
type HTTPProxyOptions struct {
|
|
Enabled bool `json:"enabled,omitempty"`
|
|
ServerOptions
|
|
BypassDomain badoption.Listable[string] `json:"bypass_domain,omitempty"`
|
|
MatchDomain badoption.Listable[string] `json:"match_domain,omitempty"`
|
|
}
|