sse on go-chi router

I am writing a server that implements sse for tests, and I want to use a library (https://github.com/alexandrevicenzi/go-sse) . In the library use:

http.Handle("/events/", s)

to establish a route for event subscription, but I don’t find a way to establish that route using go-chi, try this:

r.Get("/events", s)

But it does not work

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.