summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-08 20:41:51 -0500
committerJeff Carr <[email protected]>2025-09-08 23:14:04 -0500
commitd00e96e35405f168791c4b19f0271a0db5b2b0d2 (patch)
tree240441ca9d3159359412cab357e0249929f9a568 /structs.go
parent0c4a91054f49dd1ff89fd74c7972c8282f18c70f (diff)
cleanupsv0.0.67
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/structs.go b/structs.go
index 7152c21..8a70611 100644
--- a/structs.go
+++ b/structs.go
@@ -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