summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-06 05:24:11 -0600
committerJeff Carr <[email protected]>2024-01-06 05:24:11 -0600
commit3457aefa86ccc9bc6c4eda059e48ebcb8830b410 (patch)
tree525dca4d9ec74d26282521148cd4918d85081e9b /structs.go
parentd2fb88cd584b8e7e60cb6315d9fb8d0d6ceac22f (diff)
add LinuxStatus()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index c3f6622..e8db7ee 100644
--- a/structs.go
+++ b/structs.go
@@ -6,6 +6,7 @@ import (
"time"
"go.wit.com/gui/gui"
"go.wit.com/gui/gadgets"
+ "go.wit.com/control-panels/dns/linuxstatus"
"github.com/miekg/dns"
)
@@ -15,10 +16,11 @@ var me Host
type Host struct {
status *hostnameStatus // keeps track of the hostname and it's status
+ statusOS *linuxstatus.LinuxStatus // what the Linux OS sees
hostnameStatus *gui.Node // a summary for the user of where things are
- domainname *gui.Node // kernel.org
+ // domainname *gui.Node // kernel.org
hostshort *gui.Node // hostname -s
artificialSleep float64 `default:"0.7"` // artificial sleep on startup