working commit

This commit is contained in:
2026-01-23 19:26:56 +02:00
parent 772657d9be
commit d704a76bee
10 changed files with 161 additions and 76 deletions
+2 -2
View File
@@ -43,8 +43,8 @@ func (svc *Service) Build() error {
svc.logg.Infof("Service build ")
svc.rout = router.NewRouter()
svc.rout.Get(PathServiceHello, svc.hand.SendHello)
svc.rout.Get(PathFileExists, svc.hand.FileExists)
svc.rout.Get(ServiceHelloPath, svc.hand.SendHello)
svc.rout.Get(FileExistsPath, svc.hand.FileExists)
listenAddress := fmt.Sprintf("%s:%d", svc.address, svc.portnum)
svc.listen, err = net.Listen(protocol, listenAddress)