summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index e39b8ce..02d1b7f 100644
--- a/structs.go
+++ b/structs.go
@@ -17,7 +17,7 @@ func (b *virtigoT) Enable() {
// this app's variables
type virtigoT struct {
names []string
- hypers []HyperT
+ hypers []*HyperT
droplets []*DropletT
}
@@ -28,6 +28,7 @@ type HyperT struct {
Autoscan bool // to scan or not to scan
Delay time.Duration // how often to poll the hypervisor
Dog *time.Ticker // the watchdog timer itself
+ lastpoll time.Time // the last time the hypervisor polled
}
// the stuff that is needed for a hypervisor