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) |
||
---|---|---|
.. | ||
filters | ||
testdata | ||
checksum.go | ||
daemon.go | ||
http.go | ||
jsonmessage.go | ||
jsonmessage_test.go | ||
jsonmessagepublisher.go | ||
jsonmessagepublisher_test.go | ||
progressreader.go | ||
random.go | ||
resumablerequestreader.go | ||
stdcopy.go | ||
streamformatter.go | ||
streamformatter_test.go | ||
tarsum.go | ||
tarsum_test.go | ||
timeoutconn.go | ||
uname_linux.go | ||
uname_unsupported.go | ||
utils.go | ||
utils_test.go |