diff options
| author | Jeff Carr <[email protected]> | 2024-11-15 18:49:52 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-15 18:49:52 -0600 |
| commit | fbd638aec099fc88c5bd616dff891bb942d2de4b (patch) | |
| tree | 0f3a8abb3e61ec3261f5db803fb561e2c221e04c /structs.go | |
day 1.v0.0.1
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/structs.go b/structs.go new file mode 100644 index 0000000..a5b726f --- /dev/null +++ b/structs.go @@ -0,0 +1,19 @@ +package main + +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 + distro string // debian,redhat,gentoo,macos,wincrap + packages *zoopb.Packages // installed packages and versions +} |
