refactor main.go

This commit is contained in:
xvzc 2022-01-04 00:30:15 +09:00
parent aa9c47271a
commit 07a83aab5c

View File

@ -13,6 +13,7 @@ func main() {
src := flag.String("src", "127.0.0.1:8080", "source-ip:source-port")
dns := flag.String("dns", "8.8.8.8", "DNS server")
debug := flag.Bool("debug", false, "true | false")
flag.Parse()
err := config.InitConfig(*src, *dns, *debug)