Commit Graph

182 Commits

Author SHA1 Message Date
Manu Mtz-Almeida 8f3f3597f3 Merge branch 'master' of https://github.com/ngerakines/gin into ngerakines-master
It adds MustGet() method in context.

Conflicts:
	examples/example_basic.go
2014-07-04 17:05:56 +02:00
Manu Mtz-Almeida b5db76b87a Adds default config variable 2014-07-04 16:59:57 +02:00
Manu Mtz-Almeida 91df54a5c2 Better print formatting for Errors 2014-07-04 04:31:11 +02:00
Manu Mtz-Almeida 6da7374af5 Do not update status code in Abort() if code is a negative number 2014-07-04 00:37:54 +02:00
Nick Gerakines abe076b8f8 Adding MustGet method. Updating README. 2014-07-03 18:16:41 -04:00
Manu Mtz-Almeida e1781e2db1 Fixes "http: multiple response.WriteHeader calls" in 404 [Issue #29] 2014-07-04 00:12:35 +02:00
Manu Mtz-Almeida 00413032bb Merge branch 'master' into develop 2014-07-04 00:05:31 +02:00
Manu Mtz-Almeida edc3872dd0 Merge branch 'master' of github.com:gin-gonic/gin 2014-07-04 00:05:18 +02:00
Manu Mtz-Almeida d42aa6d868 Fixes wrap around http.ResponseWriter 2014-07-04 00:01:28 +02:00
Nick Gerakines 108bfb4470 Setting Get metadata method to return both an interface as well as an error to remove panic. 2014-07-03 15:17:24 -04:00
jasonrhansen fd30d289a9 Fix spelling and grammar errors in comments 2014-07-03 12:30:01 -06:00
Manu Mtz-Almeida 1aa3216303 Some work around bindings. it may do not compile 2014-07-03 19:19:06 +02:00
Manu Mtz-Almeida b8053b284d Adds HEAD 2014-07-03 16:57:45 +02:00
Manu Mtz-Almeida df9ba52186 Merge branch 'options' of https://github.com/alexandernyquist/gin into alexandernyquist-options 2014-07-03 16:55:55 +02:00
Manu Mtz-Almeida bd33a76426 Merge branch 'contextCaching' into develop 2014-07-03 16:35:41 +02:00
Manu Mtz-Almeida 12fa9fe499 Improves Copy() in gin.Context 2014-07-03 16:35:20 +02:00
Manu Mtz-Almeida d7a3fdcd8f Testing Copy() instead of Keep() and Release() 2014-07-03 16:31:27 +02:00
Alexander Nyquist 5e0d560dd6 Added support for OPTIONS verb 2014-07-03 16:14:33 +02:00
Manu Mtz-Almeida d9573b45c7 Adds Keep() and Release() to gin.Context 2014-07-03 15:59:39 +02:00
Manu Mtz-Almeida 30ea9c06fc Adds NewWithConfig() and CacheStress() 2014-07-03 14:11:42 +02:00
Manu Mtz-Almeida 615f19961e Run() crashes if server can't be setup 2014-07-02 23:10:30 +02:00
Manu Mtz-Almeida 10979dd862 Adds new context caching system
- Reduces allocation overhead
- Reduces Garbage Collection stress
- Reduces memory fragmentation
2014-07-02 20:17:57 +02:00
Manu Mtz-Almeida 503b1fadae Merge branch 'master' into develop 2014-07-02 20:12:55 +02:00
Manu Mtz-Almeida 2b6cf3889e Fixes crash when route path doesn't start with '/' 2014-07-02 11:09:04 +02:00
Manu Mtz-Almeida f99a2ac7cc Merge branch 'develop' 2014-07-02 11:06:22 +02:00
Manu Mtz-Almeida b8798ec5f7 Adds context.LastError() 2014-07-02 02:32:44 +02:00
Manu Mtz-Almeida f72fcdf5ba Improves error log formatting 2014-07-02 02:31:11 +02:00
Manu Mtz-Almeida 4b62957d85 Do not update header when status code is less than 1 2014-07-02 01:50:33 +02:00
Manu Mtz-Almeida 2abbc4ad1d Setting response headers before calling WriteHeader in context.String() 2014-07-02 01:47:32 +02:00
Alexander Nyquist 00bb3e2478 Setting response headers before calling WriteHeader. 2014-07-01 09:22:39 +02:00
Manu Mtz-Almeida 1565111274 Fixes routing bug 2014-06-30 03:59:00 +02:00
Manu Mtz-Almeida 15216a0883 Initial commit 2014-06-18 01:42:34 +02:00