diff options
| author | Jeff Carr <[email protected]> | 2024-11-15 09:12:08 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-15 09:12:08 -0600 |
| commit | 7b069233955c6f35270f0cb2cb49bf6038c11020 (patch) | |
| tree | 15515a666395193f7f0aebccdc6cc68573267d3a /structs.go | |
| parent | 6c920e0925c5b9db4354c31a693140adf024d88b (diff) | |
add watchdog
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 } |
