diff options
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 +} |
