diff options
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 } |
