1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-01 13:48:57 +08:00
Rafael Magana 1f09fb021b Add SSE test coverage
Add a Stream type that handle the request to /events/:event and write tests for event stream

Add a test for the events/:event endpoint that actually tests the endpoint response

Using <-time.After in a 'select' creates one channel every time, let's use a time.Timer instead so that we reuse the same channel
2015-04-07 16:04:40 -07:00
..
2015-04-07 16:04:40 -07:00
2015-04-07 16:04:40 -07:00
2014-09-25 18:29:10 -07:00
2014-10-29 13:19:12 -07:00
2014-09-25 18:29:10 -07:00
2014-10-28 14:52:59 -07:00
2015-04-07 16:04:40 -07:00