zeroconf
zeroconf copied to clipboard
rework the client-side API, remove the Resolver, make Browse and Lookup package-level functions
This implements suggestion 1 in #98. Fixes #98.
I'm not entirely sure if this is the right way to go, but at least it seems to make the API a lot more intuitive. Also, it allows for a clean shutdown of all Go routines: As soon as Lookup / Browse return, you can now be certain that no more Go routines are running in the background.
@grandcat Any thoughts on this PR? Anything I can do to move this forward?