diff options
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3,7 +3,7 @@ package main import ( "time" - pb "go.wit.com/lib/protobuf/virtbuf" + "go.wit.com/lib/protobuf/virtpb" ) var me virtigoT @@ -20,8 +20,8 @@ func (b *virtigoT) Enable() { // this app's variables type virtigoT struct { - cluster *pb.Cluster // basic cluster settings - hmap map[*pb.Hypervisor]*HyperT // map to the local struct + cluster *virtpb.Cluster // basic cluster settings + hmap map[*virtpb.Hypervisor]*HyperT // map to the local struct names []string hypers []*HyperT killcount int @@ -35,7 +35,7 @@ type virtigoT struct { // the stuff that is needed for a hypervisor type HyperT struct { - pb *pb.Hypervisor // the Hypervisor protobuf + pb *virtpb.Hypervisor // the Hypervisor protobuf dog *time.Ticker // the watchdog timer itself lastpoll time.Time // the last time the hypervisor polled lastDroplets map[string]time.Time // the vm's in the last poll |
