GoVector
GoVector copied to clipboard
API for subscriber-to-broker
Formulate the subscriber API version .1 This should include authentication/nonce bits for setting up the connection. This API should reflect client concerns. Some things that it may contain are: GetOldEvents (before subscriber joiner), CreateFilter (only notify subscriber of events of particular nature), RemoveFilter (disable the filtering), PauseStream (pause the publishing of events to this subscriber), UnPauseStream (resume publishing of events to this subscriber -- should events that were on pause be sent?).
A complete API would need to be specified as a JSON RPC set of method calls, and an example client (in Go, or JS) that would interface with the server-side API.