summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go23
1 files changed, 12 insertions, 11 deletions
diff --git a/structs.go b/structs.go
index 91299b9..372fa87 100644
--- a/structs.go
+++ b/structs.go
@@ -15,17 +15,18 @@ var me *gusconf
// this app's variables
type gusconf struct {
- myGui *gui.Node // the base of the gui
- portmaps *Portmaps // the portmap window
- events *Events // the event log
- portwin *stdTableWin // the portwin window
- eventswin *stdEventTableWin // the event window
- urlbase string // the dns name for the zookeeper
- hostname string // my hostname
- pollDelay time.Duration // how often to report our status
- dog *time.Ticker // the watchdog timer
- failcount int // how many times we've failed to contact the zookeeper
- failcountmax int // after this, exit and let systemd restart the daemon
+ myGui *gui.Node // the base of the gui
+ portmaps *Portmaps // the portmap window
+ portwin *stdTableWin // the portwin window
+ events *Events // the event log
+ eventswin *stdEventTableWin // the event window
+ eventsChanged bool // are there new events?
+ urlbase string // the dns name for the zookeeper
+ hostname string // my hostname
+ pollDelay time.Duration // how often to report our status
+ dog *time.Ticker // the watchdog timer
+ failcount int // how many times we've failed to contact the zookeeper
+ failcountmax int // after this, exit and let systemd restart the daemon
}
type stdTableWin struct {