On ajoute la gestion des notification

This commit is contained in:
2025-09-07 16:17:24 +02:00
parent ae0acbadec
commit 9ffb1f8eec
3 changed files with 227 additions and 4 deletions

View File

@@ -131,8 +131,11 @@ func (s *Server) Run(ctx context.Context) error {
}
for d := range s.devices.All() {
log.Infof("coucou from %s", d.Name())
d.RegisterSSPD()
for svc := range d.services.All() {
svc.StartNotifier(ctx, 1*time.Second)
}
}
// attente dannulation du contexte