locative handler
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
2024-01-15 10:10:51 +01:00
parent 15458b9955
commit f44664eaad
3 changed files with 85 additions and 0 deletions

View File

@ -16,6 +16,7 @@ import "udi/handlers/mbgw3"
import "udi/handlers/sver"
import "udi/handlers/svej"
import "udi/handlers/dt1t"
import "udi/handlers/locative"
var handlerMap map[string]handler.Handler = make(map[string]handler.Handler)
@ -44,6 +45,8 @@ func InitDispatcher() {
factory = svej.New
case "DT1T":
factory = dt1t.New
case "Locative":
factory = locative.New
default:
factory = nil
log.Printf("No handler %s found, ignore mapping", mapping.Handler)