diff options
| author | Jeff Carr <[email protected]> | 2024-01-06 05:24:11 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-06 05:24:11 -0600 |
| commit | 3457aefa86ccc9bc6c4eda059e48ebcb8830b410 (patch) | |
| tree | 525dca4d9ec74d26282521148cd4918d85081e9b /structs.go | |
| parent | d2fb88cd584b8e7e60cb6315d9fb8d0d6ceac22f (diff) | |
add LinuxStatus()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
