mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
d0c4e44863
Events subscription (/events API endpoint) attributes pseudo-unique identifiers to incoming subscribers: originally its host, then its subscription time. This is unecessary and leads to code complexity. Introduce a JSONMessagePublisher to provide simple pub/sub mechanism for JSONMessage, and rely on this new type to publish events to all subscribed listeners. The original logic is kept for the 'since' and 'until' parameters, and for client disconnection handling. Docker-DCO-1.1-Signed-off-by: Arnaud Porterie <icecrime@gmail.com> (github: icecrime) |
||
---|---|---|
.. | ||
buildfile.go | ||
MAINTAINERS | ||
server.go | ||
server_unit_test.go |