1f09fb021b
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 |
||
---|---|---|
.. | ||
robeaux | ||
api.go | ||
api_test.go | ||
basic_auth.go | ||
basic_auth_test.go | ||
cors.go | ||
cors_test.go | ||
doc.go | ||
helpers_test.go |