Add tun platform options

This commit is contained in:
世界
2023-02-28 19:02:27 +08:00
parent 5dc3e1bc7d
commit 6734715440
12 changed files with 213 additions and 26 deletions

10
option/tun_platform.go Normal file
View File

@@ -0,0 +1,10 @@
package option
type TunPlatformOptions struct {
HTTPProxy *HTTPProxyOptions `json:"http_proxy,omitempty"`
}
type HTTPProxyOptions struct {
Enabled bool `json:"enabled,omitempty"`
ServerOptions
}