Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use sseserver with chi-router #6

Closed
joselbr2099 opened this issue Sep 10, 2019 · 1 comment
Closed

use sseserver with chi-router #6

joselbr2099 opened this issue Sep 10, 2019 · 1 comment

Comments

@joselbr2099
Copy link

How could I use sseserver with chi-router? I'm really very confused

@mroth
Copy link
Owner

mroth commented Sep 16, 2019

I have no familiarity with chi-router but from a quick glance at their README:

chi uses standard net/http request handlers.

From https://github.com/go-chi/chi#request-handlers

As sseserver.Server implements the http.Handler interface, you can use it just like any other standard Go HTTP handler in Chi.

Closing as an upstream documentation issue with chi-router, not related to sseserver itself.

@mroth mroth closed this as completed Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants