diff options
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 |
