misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli 2024-09-19 22:24:45 +02:00
commit e656a6cbfa
6 changed files with 114 additions and 669 deletions

View file

@ -113,6 +113,8 @@ func (mod *ZeroGod) startAdvertiser(fileName string) error {
svcChan := make(chan setupResult)
// TODO: support external responders
// paralleize initialization
for key, svc := range mapping {
go func(key string, svc zeroconf.ServiceEntry) {