diff options
| author | Jeff Carr <[email protected]> | 2025-09-08 20:41:51 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-08 23:14:04 -0500 |
| commit | d00e96e35405f168791c4b19f0271a0db5b2b0d2 (patch) | |
| tree | 240441ca9d3159359412cab357e0249929f9a568 /structs.go | |
| parent | 0c4a91054f49dd1ff89fd74c7972c8282f18c70f (diff) | |
cleanupsv0.0.67
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -6,15 +6,17 @@ package main import ( "time" + "go.wit.com/dev/alexflint/arg" "go.wit.com/gui" "go.wit.com/lib/gadgets" "go.wit.com/lib/protobuf/zoopb" ) -var me *zookeep +var me *mainType // this app's variables -type zookeep struct { +type mainType struct { + pp *arg.Parser // for parsing the command line args. Yay to alexf lint! hostname string // my fqdn dns zookeeper hostname pollDelay time.Duration // how often to report our status dog *time.Ticker // the watchdog timer |
