summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-07 10:38:17 -0600
committerJeff Carr <[email protected]>2024-01-07 10:38:17 -0600
commitef6eb7a96aa4aee7c16ba5e7320bde4ffd79acc0 (patch)
treebba27c349418d5d799d86fdbadcf275327e08c26 /structs.go
parent259b4bdb408fd234cf1c76f94463a85d87fdadb6 (diff)
error window v0.1
error box starts doing something start a window for errors to fix more status cleanups & housecleaning Signed-off-by: Jeff Carr <[email protected]> Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/structs.go b/structs.go
index f7f6411..2408dbb 100644
--- a/structs.go
+++ b/structs.go
@@ -27,7 +27,7 @@ type Host struct {
digStatus *digStatus // window of the results of DNS lookups
hostnameStatus *gui.Node // a summary for the user of where things are
- hostname *gadgets.OneLiner // the hostname grabbed from gadget.linuxStatus
+ // hostname *gadgets.OneLiner // the hostname grabbed from gadget.linuxStatus
artificialSleep float64 `default:"0.7"` // artificial sleep on startup
artificialS string `default:"abc"` // artificial sleep on startup
@@ -50,8 +50,6 @@ type Host struct {
// DNS stuff
DnsAPI *gui.Node // what DNS API to use?
- DnsAAAA *gadgets.OneLiner // the actual DNS AAAA results
- DnsA *gui.Node // the actual DNS A results (ignore for status since mostly never happens?)
DnsStatus *gui.Node // the current state of DNS
DnsSpeed *gui.Node // 'FAST', 'OK', 'SLOW', etc
DnsSpeedActual *gui.Node // the last actual duration