summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/structs.go b/structs.go
index 67ca6c1..a8d7492 100644
--- a/structs.go
+++ b/structs.go
@@ -1,9 +1,14 @@
package main
+import "time"
+
var me *stuff
// this app's variables
type stuff struct {
- Hostname string
- 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
+ dirs []string
}