Jason Hansen
c4d81efeca
Added Before function to ResponseWriter.
...
This allows middleware to have a function get
called right before ResponseWriter has been written to.
It can be used to set headers or do other necessary things
before a response has been written.
2014-07-31 12:20:45 -06: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
v0.3
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
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
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
Javier Provecho
c224bf8211
Update .gitignore
...
Fixed PR #56 .
2014-07-08 12:20:05 +02:00
Javier Provecho
d09d128652
Merge pull request #56 from mopemope/godep
...
Manage Dependencies With Godep
2014-07-08 12:19:03 +02:00
Javier Provecho
6c8c90115d
Update README.md
...
Example of Catch-All parameters.
2014-07-08 11:55:20 +02:00
mopemoepe
cfb3ce5aac
Ingnore godep workspace
2014-07-08 18:41:12 +09:00
mopemoepe
fadb06968f
Fix go version
2014-07-08 17:53:55 +09:00
mopemoepe
6fa85864ed
Manage Dependencies With Godep
2014-07-08 15:53:10 +09:00
Manu Mtz-Almeida
545101811a
Merge branch 'develop'
...
Conflicts:
README.md
v0.2b
2014-07-08 01:32:41 +02:00
Manu Mtz-Almeida
b6be4ba58c
Updates travis. Only compile for Go1.3
2014-07-08 01:16:51 +02:00
Manu Mtz-Almeida
25e7330e65
Merge branch 'sync_pool' into develop
...
Conflicts:
logger.go
2014-07-08 01:13:52 +02:00
Manu Mtz-Almeida
f973263072
Merge branch 'master' of github.com:gin-gonic/gin
2014-07-08 01:10:35 +02:00
Manu Mtz-Almeida
058201713b
New static file serving
2014-07-08 01:09:48 +02:00