Commit Graph

877 Commits

Author SHA1 Message Date
Alexander Nyquist e350ae7c7e Removed redundancy when redirecting 2014-07-29 00:53:56 +02:00
Alexander Nyquist 2c4460d7cc Fixed status code when redirecting 2014-07-29 00:51:34 +02:00
Alexander Nyquist 593de4e913 Added support for redirects 2014-07-29 00:48:02 +02:00
Sasha Myasoedov 74ca5f3bd9 Added dummy tests for middleware 2014-07-28 13:05:23 +03:00
Keiji Yoshida 51cbd7c75e Update README.md 2014-07-26 01:57:24 +09:00
Sasha Myasoedov 89b4c6e0d1 Replaced deprecated ServeFiles 2014-07-24 16:52:16 +03:00
Sasha Myasoedov 8933874582 Fixed tests up to master branch 2014-07-24 16:28:13 +03:00
Sasha Myasoedov 7713e8157a Merge branch 'tests' of github.com:alexandernyquist/gin into tests 2014-07-24 16:26:29 +03:00
Andre Dublin a1c9c0e2d4 spelling
Signed-off-by: Andre Dublin <81dublin@gmail.com>
2014-07-18 17:08:37 -04:00
Manu Mtz.-Almeida c3abaf9afc Merge pull request #73 from gin-gonic/community
adding info for IRC and mailing list
2014-07-18 18:09:30 +02:00
Manu Mtz-Almeida 97729696c0 Updates CHANGELOG 2014-07-18 15:25:55 +02:00
Manu Mtz-Almeida 7a6d58d8c4 Updates README 2014-07-18 15:22:38 +02:00
Manu Mtz-Almeida 4acef47df5 Adds CHANGELOG 2014-07-18 15:20:46 +02:00
Manu Mtz-Almeida 590bda514b Updates AUTHORS 2014-07-18 14:59:44 +02:00
Manu Mtz.-Almeida 3716419fca Merge pull request #76 from mopemope/fix-plainrender
Fix Corrupted plainRender
2014-07-18 14:53:00 +02:00
mopemoepe 2947981b61 Fix Corrupted plainRender 2014-07-18 08:56:59 +09:00
Manu Mtz-Almeida cc94aa2dd9 Fixes pathFor() 2014-07-18 01:34:29 +02:00
Manu Mtz-Almeida d0fb4a6bf0 Fixes new NoRoute() logic 2014-07-18 00:29:44 +02:00
Manu Mtz-Almeida c7fdc2e03a Errors in context are removed 2014-07-18 00:29:20 +02:00
Manu Mtz-Almeida 48f4914165 Performance improvement
- Reduces number of allocations per context
- Improves CPU cache usage
2014-07-18 00:10:28 +02:00
Manu Mtz-Almeida 184a02ee2d Improves performance of NoRouter() handler 2014-07-17 23:43:41 +02:00
Manu Mtz-Almeida 4731e82bb7 Renames NotFound() to NoRoute() 2014-07-17 23:42:23 +02:00
Manu Mtz-Almeida d91cfbade4 Renames NotFound404 to NotFound 2014-07-17 20:18:50 +02:00
Manu Mtz-Almeida 15c27c712d Adds HEAD method in Static file serving 2014-07-17 02:07:18 +02:00
Manu Mtz-Almeida dda70bf382 Refactors Static() file serving 2014-07-17 02:02:09 +02:00
Manu Mtz-Almeida 8ed55606c3 Adds context.File(path) 2014-07-17 02:01:42 +02:00
Manu Mtz.-Almeida 0ca4d36b76 Merge pull request #70 from fmd/develop-templates
Renames SetHTTPTemplate to SetHTMLTemplate
2014-07-17 00:27:39 +02:00
Manu Mtz-Almeida dc43372610 Splitting source code in different files 2014-07-16 20:14:03 +02:00
Austin Heap f3fd8b92f8 adding info for IRC and mailing list 2014-07-16 10:00:47 -07:00
mopemoepe 2c3cdbb69f Add Pluggable View Renderer Example
Gin meets pongo2!
(https://github.com/flosch/pongo2)
2014-07-17 00:37:56 +09:00
Fareed Dudhia 176edde1fb SetHTTPTemplate -> SetHTMLTemplate 2014-07-16 12:53:57 +00:00
Manu Mtz-Almeida 3cf2d1338f Updates AUTHORS file 2014-07-16 12:18:02 +02:00
Manu Mtz.-Almeida 18d8c2a4c8 Merge pull request #69 from mopemope/fix-variadic
Fix variadic parameter
2014-07-16 12:06:21 +02:00
mopemoepe 08875b30d6 Fix variadic parameter 2014-07-16 14:18:45 +09:00
Manu Mtz-Almeida fc5caf0706 Adds AUTHORS file
Inspired by the cocos2d-iphone community! My old house
2014-07-16 03:40:58 +02:00
Manu Mtz-Almeida 7cf643aace Merge branch 'lucas-clemente-master' into develop 2014-07-16 02:55:03 +02:00
Manu Mtz-Almeida a1ff907768 Fixed Content-Type for json render. Thank you @mdigger 2014-07-16 02:49:22 +02:00
Manu Mtz-Almeida 3ef5e4fead Merge branch 'master' of https://github.com/lucas-clemente/gin into lucas-clemente-master 2014-07-15 17:55:28 +02:00
Manu Mtz-Almeida 5ea7a92267 Adds flexible render system 2014-07-15 17:41:56 +02:00
Manu Mtz-Almeida 94bc35bb2d Using keyed initialization to fix app-engine integration 2014-07-13 16:56:26 +02:00
Manu Mtz-Almeida f63a354b40 Normal log and error log are printed in the same call. 2014-07-13 00:18:33 +02:00
Manu Mtz-Almeida e2242b59e6 Fixes "Can't unmarshal JSON array with #63" 2014-07-13 00:17:01 +02:00
Lucas Clemente 6c31570472 work around path.Join removing trailing slashes from routes 2014-07-09 14:27:47 +02:00
dickeyxxx 772d7d2997 added example on using Static 2014-07-08 10:17:22 -07:00
Manu Mtz-Almeida 2078ecd8e1 Renaming Context.Req to Context.Request 2014-07-08 16:57:04 +02:00
Manu Mtz-Almeida 6b6ec5be77 Merge branch 'master' of https://github.com/mdigger/gin into mdigger-master 2014-07-08 14:39:02 +02:00
Dmitry Sedykh a235e0fb32 Add HTML POST Form support in Bind 2014-07-08 16:10:27 +04:00
kyledinh f6971041b0 RunTLS() for http.ListenAndServeTLS
run the engine for https

Fixes PR #52
2014-07-08 14:09:04 +02:00
Dmitry Sedykh 9880758ddb No repeat call c.Writer.Status() 2014-07-08 16:07:59 +04:00
Alexander Nyquist 78ccff217c Merge pull request #1 from msoedov/tests
Added tests for ServeFiles #37
2014-07-08 13:17:45 +02:00