gin/examples
htobenothing bf85b32c1d Add Pusher() function for support http2 server push (#1273)
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">
2018-06-21 09:53:52 +08:00
..
app-engine change README for app-engine example because of goapp deprecation (#1324) 2018-04-19 12:00:22 +08:00
assets-in-binary Add example to build single binary with templates (#1328) 2018-04-22 15:04:38 +08:00
auto-tls add package for govendor (#1166) 2017-11-11 23:11:22 -06:00
basic Added simple testing documentation and examples (#1156) 2017-11-11 23:37:32 -06:00
custom-validation fix(binding): Expose validator engine used by the default Validator (#1277) 2018-03-29 14:33:07 +08:00
favicon add favicon example (#1001) 2017-07-10 09:21:42 -05:00
graceful-shutdown doc(graceful-shutdown): failure to ListenAndServe should be a reason to exit (#1287) 2018-03-20 14:05:24 +08:00
http2 add warning using http2 example (#1009) 2017-07-12 02:01:46 -05:00
http-pusher Add Pusher() function for support http2 server push (#1273) 2018-06-21 09:53:52 +08:00
multiple-service feat: add multiple service example. (#1119) 2017-09-29 16:48:10 +08:00
realtime-advanced Linting and optimizing struct memory signature. (#1184) 2017-11-29 10:50:14 +08:00
realtime-chat add Makefile for example (#951) 2017-06-15 20:07:42 -05:00
struct-lvl-validations fix(binding): Expose validator engine used by the default Validator (#1277) 2018-03-29 14:33:07 +08:00
template update template example (#1038) 2017-07-20 21:29:23 -05:00
upload-file Moved const 'defaultMemory' to attrib. Engine.MaxMultipartMemory instead. (#1100) 2017-09-07 11:45:16 +08:00