update... work pending
This commit is contained in:
20
daemon/types.go
Normal file
20
daemon/types.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user