2021-09-09 01:28:05 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2021-09-09 18:49:33 +00:00
|
|
|
log "bitsnthings.dev/overlord/src/log"
|
|
|
|
overlord "bitsnthings.dev/overlord/src/state"
|
2021-09-09 01:28:05 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2021-09-09 18:49:33 +00:00
|
|
|
log.PrintLog(log.INFO, "Starting Overlord.")
|
2021-09-09 01:28:05 +00:00
|
|
|
state := overlord.NewState()
|
|
|
|
state.Setup()
|
2021-09-13 14:52:50 +00:00
|
|
|
state.MainLoop()
|
2021-09-09 01:28:05 +00:00
|
|
|
state.Stop()
|
2021-09-09 18:49:33 +00:00
|
|
|
log.PrintLog(log.TRACE, "Done.")
|
2021-09-09 01:28:05 +00:00
|
|
|
}
|