From 6fa6d6dfc9e5a88e7dff2ed3c148b3b4271f566c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 28 Dec 2023 09:43:45 -0600 Subject: Detect that a VPN is needed IPv6() returns true if it's working display duration a 'DNS Lookup Status' window actual dig results display status and failure counters count lookup failures and successes add TCP dns lookup logic to test if dns is working at all add DNS over HTTPS cloudflare new & update kind of working holy shit, go.wit.com finally works with git mod tidy working, but cloudflare api stuff is broken AAAA '(none)' logic detection is better cloudflare control panel display the working real AAAA addresses Signed-off-by: Jeff Carr --- examples/cloudflare/argv.go | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 examples/cloudflare/argv.go (limited to 'examples/cloudflare/argv.go') diff --git a/examples/cloudflare/argv.go b/examples/cloudflare/argv.go deleted file mode 100644 index 49167cd..0000000 --- a/examples/cloudflare/argv.go +++ /dev/null @@ -1,30 +0,0 @@ -// This creates a simple hello world window -package main - -import ( - "fmt" - arg "github.com/alexflint/go-arg" - "go.wit.com/gui" - log "go.wit.com/gui/log" -) - - -var args struct { - Foo string - Bar bool - User string `arg:"env:USER"` - Demo bool `help:"run a demo"` - gui.GuiArgs - log.LogArgs -} - -func init() { - arg.MustParse(&args) - fmt.Println(args.Foo, args.Bar, args.User) - - if (args.Gui != "") { - gui.GuiArg.Gui = args.Gui - } - log.Log(true, "INIT() args.GuiArg.Gui =", gui.GuiArg.Gui) - -} -- cgit v1.2.3