diff options
| author | Jeff Carr <[email protected]> | 2024-11-18 20:22:12 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-18 20:22:12 -0600 |
| commit | afc7fedbe14d22b7090efc970a21686a050d0242 (patch) | |
| tree | 5d08116134f53cd5cf628c8dd0961d3efda03f2c /structs.go | |
| parent | b71fec22c8cc6c5b3be47bd782a7c807be75216c (diff) | |
someday this will workv0.0.7
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -10,11 +10,13 @@ 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 - machine *zoopb.Machine // my protobuf + hostname string // my hostname to send to zookeeper + urlbase 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 + machine *zoopb.Machine // my protobuf + failcount int // how many times we've failed to contact the zookeeper + failcountmax int // after this, exit and let systemd restart the daemon // packages *zoopb.Packages // installed packages and versions } |
