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