sve and queries
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
2023-12-05 13:31:42 +01:00
parent 57ebd76849
commit 1d947b7676
4 changed files with 261 additions and 0 deletions

View File

@ -12,6 +12,7 @@ import "udi/handlers/ttn"
import "udi/handlers/iot"
import "udi/handlers/pv"
import "udi/handlers/mbgw3"
import "udi/handlers/sve"
var handlerMap map[string]handler.Handler = make(map[string]handler.Handler)
@ -24,6 +25,7 @@ func InitDispatcher() {
handlerMap["IoT"] = iot.NewIoTHandler()
handlerMap["PV"] = pv.NewPvHandler(config.Config.Handlers["PV"])
handlerMap["MBGW3"] = mbgw3.NewMbgw3Handler(config.Config.Handlers["MBGW3"])
handlerMap["SVE"] = sve.NewSveHandler(config.Config.Handlers["SVE"])
}
func storeMessage(filename string, item handler.MessageT) {