mihomo/constant/config.go

11 lines
322 B
Go
Raw Normal View History

2018-06-10 22:50:03 +08:00
package constant
2018-07-15 22:23:20 +08:00
type General struct {
Mode *string `json:"mode,omitempty"`
AllowLan *bool `json:"allow-lan,omitempty"`
Port *int `json:"port,omitempty"`
SocksPort *int `json:"socks-port,omitempty"`
2018-08-26 22:43:38 +08:00
RedirPort *int `json:"redir-port,omitempty"`
LogLevel *string `json:"log-level,omitempty"`
2018-07-15 22:23:20 +08:00
}