discovery: support large attributes in mdns

  Each txt record in mDNS is limited to 255 bytes.
  This CL support large attributes than this limit by splitting
  the attribute into multiple txt records.
  But the total txt records size is still limited to 1300 bytes
  by the underlying mdns package.

  Also add an optional InstanceName attribute to service.

MultiPart: 2/2
Change-Id: I9d67c006f73d989aadea6022e73ad8acc93dd693
10 files changed
tree: dec0920b4a8cdac9adf7a111d2bb9d734accf5a5
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.