x/ref: ListenForAppPeers and AdvertiseApp

Add functions to syncbase's discovery library that allow one to
advertise apps and listen for peers of that app too.

The flexibility is heavily locked down. This current cut only
allows advertising and scanning on the app that your default
blessing string has (according to our blessings convention).
e.g., dev.v.io:o:<app>:<user> is only allowed to advertise
their presence in <app> and scan for other users with <app>.

Note: This is only an API limitation, not a security restriction.

Change-Id: I68c3f9a369e7cc0e67dbc972e25a6d01f1beb9cb
2 files changed
tree: 71b5e98a144a0365338ef40c2f8740d13508b46b
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  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.