-
Notifications
You must be signed in to change notification settings - Fork 58
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
Support for http.Handler? #34
Comments
Check out the recently merged #33. |
@dimfeld I noticed support for type HandleFoo struct{
Foo string
}
func (req HandleFoo) ServeHTTP(w http.ResponseWriter, r *http.Request) {
// do stuff
} |
Ah, I see. I hadn't thought about doing this, but it seems like it should be pretty easy to do with a method similar to the |
Any plans to support http.Handler alongside http.HandlerFunc?
The text was updated successfully, but these errors were encountered: