summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-12-29 01:36:10 -0600
committerJeff Carr <[email protected]>2023-12-29 01:36:10 -0600
commit1258be9beff2e45c94ba5f7c29db65be02a1e2d4 (patch)
treec1b6bc4e9a648835ec243140fd29689db1cf0bf1 /structs.go
parent8afc73da048204f4245e0c850436c1e3e70055a5 (diff)
add digital ocean & DNS state windows
lists digital ocean droplets create a new digital ocean droplet knows what needs to be done to get IPv4 and IPv6 to work update windows on Show() make a window for the state of DNS specific to the hostname Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index 3cace0b..a75c518 100644
--- a/structs.go
+++ b/structs.go
@@ -16,7 +16,7 @@ type Host struct {
hostname string // mirrors
domainname *gui.Node // kernel.org
hostshort *gui.Node // hostname -s
- hostnameStatus *gui.Node // is the hostname configured correctly in the OS?
+ hostnameStatusOLD *gui.Node // is the hostname configured correctly in the OS?
// fqdn string // mirrors.kernel.org
// dnsTTL int `default:"3"` // Recheck DNS is working every TTL (in seconds)
@@ -77,6 +77,9 @@ type Host struct {
digStatus *digStatus
statusIPv6 *cloudflare.OneLiner
digStatusButton *gui.Node
+
+ hostnameStatus *hostnameStatus
+ hostnameStatusButton *gui.Node
}
type IPtype struct {