summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-10 07:51:28 -0500
committerJeff Carr <[email protected]>2025-03-10 07:59:25 -0500
commitc3e8971e30e39757d63cc440b0ba2ed68bb97533 (patch)
tree4155323940d617a4c698b34f2f09f5acc5a52766 /structs.go
parent18c1221efc1a4e6b97afb5547d44055a29150dff (diff)
more on events and auto save events pbv0.0.3
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 {