sleepy
sleepy copied to clipboard
rest for go
Inherit not supported method implementation for HTTP methods.
Hi there, cool, idiomatic framework! I tried to understand how you could possibly send some JSON in the request body and work with it in the handlers. It looks like...
Hey Doug, Recently came across sleepy, great work on the micro framework! A few minor suggestions. - Instead of embedding the *NotSupported types, why not just define the default implementation...
Add support Simple Auth HTTP Like -> https://github.com/astaxie/beego/blob/master/plugins/auth/basic.go
This PR adds support to use sleepy with existing muxer instances and also allows to use other muxer implementations than http.http.ServeMux.
This PR is required to get access to request.Body in POST and PUT handlers without keeping to add more and more parameters to the handlers. I feel it is much...
- exported const GET should have comment or be unexported - if block ends with a return statement, so drop this else and outdent its block - error strings should...
This PR adds direct support for string and []byte response data from sleepy handler implementations. It also makes sure that the response header content-type is set if JSON is encoded...
In many RESTful APIs, there is data stored in the URI. `sleepy` should be able to parse it out. For example ``` /users/1 ``` can be expressed as ``` /users/:id...
Think of a way to do automatic type validation on parameters and 400 when invalid.