zood/structs.go

21 lines
529 B
Go
Raw Normal View History

2024-11-15 01:22:47 -06:00
package main
2024-11-15 18:11:52 -06:00
import (
"time"
"go.wit.com/lib/protobuf/zoopb"
)
2024-11-15 09:12:08 -06:00
2024-11-15 01:22:47 -06:00
var me *stuff
// this app's variables
type stuff struct {
2024-11-16 13:51:25 -06:00
hostname string // my hostname to send to zookeeper
zookeeper string // the dns name for the zookeeper
pollDelay time.Duration // how often to report our status
dog *time.Ticker // the watchdog timer
distro string // debian,redhat,gentoo,macos,wincrap
machine *zoopb.Machine // my protobuf
2024-11-15 21:05:03 -06:00
// packages *zoopb.Packages // installed packages and versions
2024-11-15 01:22:47 -06:00
}