Refactor(engine): remove struct

This commit is contained in:
xjasonlyu
2022-03-30 23:09:50 +08:00
parent cba7e19d22
commit abdbaa6b83
3 changed files with 77 additions and 83 deletions

12
engine/key.go Normal file
View File

@@ -0,0 +1,12 @@
package engine
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"`
}