Skip to content

codecomet-io/go-mdns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeComet mDNS

See notes at the bottom.

Dev

Makefile

  • make lint
  • make lint-fix
  • make tidy

Local documentation

Install pkgsite: go install golang.org/x/pkgsite/cmd/pkgsite@latest

Run it: pkgsite

Open: http://localhost:8080/github.com/go.codecomet.dev/core

Dev notes

There are a handful of mDNS options out there:

Discovery

Hashicorp:

  • works kind of ok if there are records for the service name
  • for whatever reason, it randomly returns other records as well

Grancat:

  • a lot more complex (exponential backoff, timeout)
  • unfortunately, it does fail to bring existing services, and only surfaces new entries - reason unclear...

Announcer

Hashicorp:

  • segfault, or does not persist... - unusable

Goello:

  • extreme disaster when multiple interfaces are involve - unusable

Grandcat:

  • ok?

Forking

hashicorp uses log in annoying ways - it is also not doing a good job with ipv6

Forking it for the time being for discovery only, and keeping grandcat for announces seems like the best option.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published