summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
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
}