gfwproxyshadowsocksdocker-imagegogolanggvisornatnetworksocks4socks5tcpip-stacktortun-devicetun2sockstunneludpwireguard
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
847 B
19 lines
847 B
package engine
|
|
|
|
import "time"
|
|
|
|
type Key struct {
|
|
MTU int `yaml:"mtu"`
|
|
Mark int `yaml:"fwmark"`
|
|
Proxy string `yaml:"proxy"`
|
|
RestAPI string `yaml:"restapi"`
|
|
Device string `yaml:"device"`
|
|
LogLevel string `yaml:"loglevel"`
|
|
Interface string `yaml:"interface"`
|
|
TCPModerateReceiveBuffer bool `yaml:"tcp-moderate-receive-buffer"`
|
|
TCPSendBufferSize string `yaml:"tcp-send-buffer-size"`
|
|
TCPReceiveBufferSize string `yaml:"tcp-receive-buffer-size"`
|
|
TUNPreUp string `yaml:"tun-pre-up"`
|
|
TUNPostUp string `yaml:"tun-post-up"`
|
|
UDPTimeout time.Duration `yaml:"udp-timeout"`
|
|
}
|
|
|