xjasonlyu
3 years ago
3 changed files with 16 additions and 14 deletions
@ -1,15 +1,17 @@ |
|||
package engine |
|||
|
|||
import "time" |
|||
|
|||
type Key struct { |
|||
MTU int `yaml:"mtu"` |
|||
Mark int `yaml:"fwmark"` |
|||
UDPTimeout int `yaml:"udp-timeout"` |
|||
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"` |
|||
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"` |
|||
UDPTimeout time.Duration `yaml:"udp-timeout"` |
|||
} |
|||
|
Loading…
Reference in new issue