update... work pending

This commit is contained in:
brent saner
2025-02-04 12:14:08 -05:00
parent 3b4d712722
commit 3c984a0636
39 changed files with 2122 additions and 597 deletions

20
daemon/types.go Normal file
View File

@@ -0,0 +1,20 @@
package daemon
import (
`os`
`time`
`r00t2.io/gobroke/conf`
`r00t2.io/goutils/logging`
)
// Updater runs a persistent checker/updater as a service/daemon.
type Updater struct {
cfg *conf.Config
log logging.Logger
timer *time.Timer
doneChan chan bool
stopChan chan os.Signal
reloadChan chan os.Signal
isStopping bool
}