summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-15 18:11:52 -0600
committerJeff Carr <[email protected]>2024-11-15 18:11:52 -0600
commit9e4045f35e7b037f60b0a89a4368b9c4f77aa48d (patch)
tree48a33398f5437ca41f18b2c159af3a30a7a66ef1 /structs.go
parent76db985cf1c3ca4ff792b82f6209e00ba5679b58 (diff)
use zoopb protobufs
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go17
1 files changed, 11 insertions, 6 deletions
diff --git a/structs.go b/structs.go
index a8d7492..a5b726f 100644
--- a/structs.go
+++ b/structs.go
@@ -1,14 +1,19 @@
package main
-import "time"
+import (
+ "time"
+
+ "go.wit.com/lib/protobuf/zoopb"
+)
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
- dirs []string
+ 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
+ distro string // debian,redhat,gentoo,macos,wincrap
+ packages *zoopb.Packages // installed packages and versions
}