timetable-mgr/src/main.go

16 lines
373 B
Go
Raw Normal View History

2023-07-15 22:32:46 +01:00
package main
import (
2023-07-17 12:48:36 +01:00
"git.fjla.uk/owlboard/mq-client/dbAccess"
2023-07-18 14:09:28 +01:00
"git.fjla.uk/owlboard/mq-client/helpers"
"git.fjla.uk/owlboard/mq-client/log"
"git.fjla.uk/owlboard/mq-client/messaging"
2023-07-15 22:32:46 +01:00
)
func main() {
2023-07-18 14:09:28 +01:00
log.Msg.Info("Initialised OwlBoard MQ Client " + helpers.Version)
2023-07-17 12:48:36 +01:00
dbAccess.PrintFromDbPackage()
2023-07-19 13:22:55 +01:00
defer messaging.Disconnect(messaging.Client)
2023-07-18 14:09:28 +01:00
messaging.Listen()
}