summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-15 19:24:57 -0600
committerJeff Carr <[email protected]>2024-11-15 19:24:57 -0600
commit9d265e0445164f6ef169bb490f3fe9d97a4ef473 (patch)
treeceabc82d6a84b977b39508f3a3088283be4ed171 /structs.go
parentfbd638aec099fc88c5bd616dff891bb942d2de4b (diff)
zood connects
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/structs.go b/structs.go
index a5b726f..ba67457 100644
--- a/structs.go
+++ b/structs.go
@@ -10,10 +10,11 @@ var me *stuff
// this app's variables
type stuff struct {
- hostname string // my hostname to send to zookeeper
- zookeeper string // the dns name for the zookeeper
- pollDelay time.Duration // how often to report our status
- dog *time.Ticker // the watchdog timer
+ hostname string // my hostname to send to zookeeper
+ zookeeper string // the dns name for the zookeeper
+ pollDelay time.Duration // how often to report our status
+ dog *time.Ticker // the watchdog timer
+ dogchan chan bool
distro string // debian,redhat,gentoo,macos,wincrap
packages *zoopb.Packages // installed packages and versions
}