diff options
| author | Jeff Carr <[email protected]> | 2024-11-15 18:11:52 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-15 18:11:52 -0600 |
| commit | 9e4045f35e7b037f60b0a89a4368b9c4f77aa48d (patch) | |
| tree | 48a33398f5437ca41f18b2c159af3a30a7a66ef1 /structs.go | |
| parent | 76db985cf1c3ca4ff792b82f6209e00ba5679b58 (diff) | |
use zoopb protobufs
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -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 } |
