summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-04 17:37:37 -0500
committerJeff Carr <[email protected]>2025-10-04 17:37:37 -0500
commit1c015f05bd0a2ab32fc83bacb75c7ad4d1415405 (patch)
treec03868fb07d4e8f36427fbbc6a1d5110a09a9da4 /structs.go
parente21b1e4649a91585ae4435653d6607247ade88e4 (diff)
add autocompletev0.0.102
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/structs.go b/structs.go
index 4e3d500..d28c5bf 100644
--- a/structs.go
+++ b/structs.go
@@ -6,7 +6,7 @@ package main
import (
"time"
- "go.wit.com/dev/alexflint/arg"
+ "go.wit.com/lib/gui/prep"
"go.wit.com/lib/protobuf/zoopb"
)
@@ -14,6 +14,7 @@ var me *zoodStruct
// this app's variables
type zoodStruct struct {
+ sh *prep.Auto // shell autocomplete
urlbase string // the dns name for the zookeeper
hostname string // my hostname
pollDelay time.Duration // how often to report our status
@@ -22,5 +23,4 @@ type zoodStruct struct {
failcount int // how many times we've failed to contact the zookeeper
failcountmax int // after this, exit and let systemd restart the daemon
fullpath string // where to save the machine PB file
- pp *arg.Parser // from go-args
}