blob: a8d7492d96bd76dac2c6bfcbd497b9eb1f152db6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package main
import "time"
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
dirs []string
}
|