xjasonlyu
3 years ago
4 changed files with 61 additions and 9 deletions
@ -1,12 +1,15 @@ |
|||||
package engine |
package engine |
||||
|
|
||||
type Key struct { |
type Key struct { |
||||
MTU int `yaml:"mtu"` |
MTU int `yaml:"mtu"` |
||||
Mark int `yaml:"fwmark"` |
Mark int `yaml:"fwmark"` |
||||
UDPTimeout int `yaml:"udp-timeout"` |
UDPTimeout int `yaml:"udp-timeout"` |
||||
Proxy string `yaml:"proxy"` |
Proxy string `yaml:"proxy"` |
||||
RestAPI string `yaml:"restapi"` |
RestAPI string `yaml:"restapi"` |
||||
Device string `yaml:"device"` |
Device string `yaml:"device"` |
||||
LogLevel string `yaml:"loglevel"` |
LogLevel string `yaml:"loglevel"` |
||||
Interface string `yaml:"interface"` |
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"` |
||||
} |
} |
||||
|
Loading…
Reference in new issue