Commit Graph

64 Commits

Author SHA1 Message Date
Bo-Yi Wu b8b68314fa feat: add multiple service example. (#1119) 2017-09-29 16:48:10 +08:00
Kristoffer A. Iversen 8c17c680d9 Fixed README.md typo (#1104)
* Fixed README.md typo

* Fixed example typo

* Fixed example typo
2017-09-11 22:17:26 +08:00
Daniel M. Lambea c9b344118f Moved const 'defaultMemory' to attrib. Engine.MaxMultipartMemory instead. (#1100) 2017-09-07 11:45:16 +08:00
Suhas Karanth 26c3f42095 feat(binding): add support for custom validator / validation tags (#1068)
* feat(binding): Add support for custom validation tags

* docs: Add example for custom validation tag

* test(binding): Add test for registering custom validation
2017-08-27 09:37:39 +02:00
keke ecae34c4e1 fix 200 to http.Status (#1067) 2017-08-16 09:50:43 +08:00
田欧 d39ed41ab3 update template example (#1038)
* update template example

* add template example folder
2017-07-20 21:29:23 -05:00
Eason Lin 93b3a0d7ec feat(context): add SaveUploadedFile func. (#1022)
* feat(context): add SaveUploadedFile func.

* feat(context): update multiple upload examples.

* style(example): fix gofmt

* fix(example): add missing return
2017-07-15 22:42:08 -05:00
田欧 bbd4dfee50 add warning using http2 example (#1009) 2017-07-12 02:01:46 -05:00
田欧 87fdff8f88 [docs] add http2 example (#1000) 2017-07-10 20:03:09 -05:00
田欧 44da058aa0 add favicon example (#1001) 2017-07-10 09:21:42 -05:00
Bo-Yi Wu baf216e167 add error check. (#972)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-04 03:12:29 -05:00
Bo-Yi Wu f0b54a3023 fix: update autotls example. (#965) 2017-07-03 00:55:21 -05:00
田欧 0681715dda add Makefile for example (#951) 2017-06-15 20:07:42 -05:00
田欧 1a627c2449 fmt code style (#950) 2017-06-14 21:14:25 -05:00
田欧 d922143bc5 lint code for import (#939) 2017-06-11 21:40:15 -05:00
Bo-Yi Wu f8520b83f9 update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-04-17 13:41:47 +08:00
Bo-Yi Wu 0cb7cf88cb docs: add comment. 2017-04-04 14:19:04 +08:00
Bo-Yi Wu 6b0ae2a64a docs: update example. 2017-04-03 23:34:00 +08:00
Bo-Yi Wu d17e0a31b8 fix: remove hard code for cache. 2017-04-03 23:30:46 +08:00
Bo-Yi Wu 46220b726d feat: support Let's Encrypt tls. 2017-04-03 21:23:45 +08:00
Bo-Yi Wu b8be9df642 docs: add graceful-shutdown example for go 1.8 (#835)
* docs: add graceful-shutdown example for go 1.8

* fix testing

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-03-16 10:38:30 -05:00
Bo-Yi Wu 17af53a565 add upload file example.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-01-03 11:50:35 +08:00
Bo-Yi Wu d158ef2e82 Support disable console color.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-21 14:41:47 +08:00
Javier Provecho Fernandez 9e930b9bdd lint code 2016-04-15 01:16:46 +02:00
Bo-Yi Wu 00ff808ac5 fix: example format. 2016-02-17 10:45:44 +08:00
Brendan Fosberry 302cd99322 Fixing compile bug 2015-05-29 12:12:54 -05:00
Manu Mtz-Almeida 4797530476 Fixes example code 2015-05-26 12:15:43 +02:00
Manu Mtz-Almeida 66fa43f9ae Preparing release Gin v1.0rc1 2015-05-22 16:55:16 +02:00
Manu Mtz-Almeida 05d01d2282 Restored old limits 2015-05-14 22:52:37 +02:00
Manu Mtz-Almeida e33ea855d7 Message for attackers 2015-05-14 22:49:42 +02:00
Manu Mtz-Almeida 3db1479acc More changes! 2015-05-14 20:52:45 +02:00
Manu Mtz-Almeida c3ecb91dbf Trying fmt 2015-05-14 20:50:06 +02:00
Manu Mtz-Almeida b0aa2e407c Testing.... 2015-05-14 20:46:57 +02:00
Manu Mtz-Almeida ef93e8beff More aggressive rate limit 2015-05-14 20:43:33 +02:00
Manu Mtz-Almeida 3f48e0d45c Adds rate limiting 2015-05-14 20:25:55 +02:00
Manu Mtz-Almeida eed6d93095 Better stats in realtime-advanced 2015-05-14 18:16:00 +02:00
Manu Mtz-Almeida 286d775de6 Updates realtime-advanced 2015-05-14 17:01:02 +02:00
Manu Mtz-Almeida 58ceb244e5 Serving on port 80 2015-05-14 04:43:39 +02:00
Manu Mtz-Almeida e7adcaf591 Cosmetic changes in realtime-advanced 2015-05-14 04:39:17 +02:00
Manu Mtz-Almeida a8b9e2d8d6 Updates realtime-advanced demo 2015-05-13 20:54:54 +02:00
Manu Mtz-Almeida 7149009a84 Fixed some bug in realtime-advanced demo 2015-05-13 17:34:42 +02:00
Manu Mtz-Almeida 1f11541011 Updates realtime-advanced demo 2015-05-13 16:44:44 +02:00
Manu Mtz-Almeida 9386d78673 Better rate limiting 2015-05-13 03:45:17 +02:00
Manu Mtz-Almeida 7e6153dc33 Middleware order changed 2015-05-13 03:36:32 +02:00
Manu Mtz-Almeida d05b31ed77 Reduced limit 2015-05-13 03:21:10 +02:00
Manu Mtz-Almeida 313d05ed68 Add rate limitting 2015-05-13 03:19:44 +02:00
Manu Mtz-Almeida 53d29b14f6 Using bar graph 2015-05-13 02:53:09 +02:00
Manu Mtz-Almeida 3fb8a25a21 Adds realtime-advanced demo 2015-05-13 02:35:16 +02:00
Manu Mtz-Almeida 15b0c49da5 Adds realtime-chat example code 2015-05-12 19:23:54 +02:00
Manu Mtz-Almeida 0a192fb0fa Tons of unit tests 2015-04-09 12:15:02 +02:00