add internal package which includes json package (#1504)
chore: update vendor version (#1520)
chore: update issue_implate (#1524)
docs: add fnproject to gin's user list (#1505)
example for RunLimited
example for RunLimited
add new capability to limit accepted connections
Add golang 1.11.x testing (#1514)
* Add golang 1.11.x testing
* remove the latest golang testing
See the issue: https://github.com/gin-gonic/gin/pull/1510
Update README.md (#1509)
change `ShouldBindXML` to `ShouldBindJSON`
add internal package which includes json package (#1504)
chore: update vendor version (#1520)
chore: update issue_implate (#1524)
docs: add fnproject to gin's user list (#1505)
added new capability to limit the accepted requests
example for RunLimited
example for RunLimited
gin already support http2, while previously not support server push.
Add Pusher() function to extend the ResponseWriter interface.
```golang
// get http.Pusher
if pusher := c.Writer.Pusher(); pusher != nil {
// use pusher.Push() to do server push
}
```
<img width="881" alt="screen shot 2018-03-07 at 11 20 49 pm" src="https://user-images.githubusercontent.com/16014993/37100619-680c00c6-225e-11e8-9352-76ec3bd62894.png">
* fix(binding): Expose validator engine used by the default Validator
- Add func ValidatorEngine for returning the underlying validator engine used
in the default StructValidator implementation.
- Remove the function RegisterValidation from the StructValidator interface
which made it immpossible to use a StructValidator implementation without the
validator.v8 library.
- Update and rename test for registering validation
Test{RegisterValidation => ValidatorEngine}.
- Update readme and example for registering custom validation.
- Add example for registering struct level validation.
- Add documentation for the following binding funcs/types:
- Binding interface
- StructValidator interface
- Validator instance
- Binding implementations
- Default func
* fix(binding): Move validator engine getter inside interface
* docs: rm date cmd from custom validation demo
* feat(binding): Add support for custom validation tags
* docs: Add example for custom validation tag
* test(binding): Add test for registering custom validation