Javier Provecho Fernandez
413d0f2296
Fix TestRouteNotOK2 with HTTP 405
2015-01-04 02:28:37 +01:00
Javier Provecho Fernandez
7aa51dc393
Solve #164
2015-01-04 02:23:49 +01:00
Javier Provecho Fernandez
8622148fd0
Merge branch 'jamie-stackhouse-add_unlink' into develop
2015-01-04 02:00:25 +01:00
Javier Provecho Fernandez
d9d83deb25
Apply gofmt to PR #179
2015-01-04 02:00:19 +01:00
Javier Provecho Fernandez
ad4d82c65c
Merge branch 'add_unlink' of git://github.com/jamie-stackhouse/gin into jamie-stackhouse-add_unlink
2015-01-04 01:58:34 +01:00
Javier Provecho Fernandez
852729e90c
Fix PR #71
2015-01-04 01:51:41 +01:00
Javier Provecho Fernandez
869f114e27
Merge pull request #71 from mopemope/pluggable-renderer-example
...
Add Pluggable View Renderer Example
2015-01-04 01:38:27 +01:00
Javier Provecho Fernandez
c2185a129a
Fix some examples in README.md
2015-01-01 17:19:50 +01:00
Javier Provecho Fernandez
c8dedf7f39
Merge pull request #168 from dutchcoders/develop
...
Updated to use SetHTMLTemplate()
2014-12-29 13:03:03 +01:00
Javier Provecho Fernandez
e5450a70e9
Migrate to travis new container builds
2014-12-29 12:49:59 +01:00
Javier Provecho Fernandez
474eed41c2
Merge pull request #142 from JasonSoft/develop
...
fix typo in comment
2014-12-29 12:32:25 +01:00
Javier Provecho Fernandez
0099840c98
Merge pull request #182 from dutchcoders/forwarded-for-fix
...
Fixed issue allowing to spoof ClientIP()
2014-12-29 12:31:16 +01:00
Javier Provecho Fernandez
613d17fd3d
Merge pull request #144 from javierprovecho/develop
...
Add attribution from httprouter
2014-12-29 12:25:50 +01:00
Remco
e4f6e053d0
Fixed issue allowing to spoof ClientIP()
...
The X-Forwared-For can be used to spoof the real client ip. The middleware
introduced in this patch (which should only be used when having servers
in front of this servers) will filter all defined proxies (or local ip
addresses by default) and replace the RemoteAddr with the real client
ip.
2014-12-21 13:42:48 +01:00
Jamie Stackhouse
a48f83c9a1
Adding helper functions to router group for LINK and UNLINK.
2014-12-15 13:19:51 -04:00
Remco
af9a6bcb4d
Fixed typo
2014-12-02 15:39:24 +01:00
Remco
b8ab9554dc
Updated to use SetHTMLTemplate()
2014-12-02 15:28:38 +01:00
Javier Provecho Fernandez
dcad0df8f7
Fix binding.go panic
2014-11-11 08:43:48 +01:00
Javier Provecho Fernandez
79c66136e0
Merge pull request #141 from kelcecil/readme-typo
...
Fix HTML form binding example typo
2014-11-02 13:22:08 +01:00
Javier Provecho Fernandez
bd1b400861
Add attribution from httprouter
2014-11-02 12:23:31 +01:00
Jason Lee
f35dc49c68
fix typo in comment
2014-10-31 12:30:20 +08:00
Manu Mtz.-Almeida
1479952fbc
Merge pull request #139 from mirzac/fixed-debugPrint
...
fixed debugPrint
2014-10-28 14:34:55 +01:00
Kel Cecil
eaefeeb0fd
Fix HTML form binding example typo
2014-10-27 20:46:23 -04:00
Mirza Ceric
a57db1a355
fixed debugPrint
2014-10-21 16:48:21 +02:00
Manu Mtz-Almeida
aa7b00a083
General refactoring. Part 2.
2014-10-09 01:40:42 +02:00
Manu Mtz-Almeida
030706c39a
Using absolutePath in static properly
2014-10-08 21:49:08 +02:00
Manu Mtz-Almeida
07a3961941
General refactoring
2014-10-08 21:37:26 +02:00
Manu Mtz.-Almeida
94415333ed
Merge pull request #120 from bredov/issue-119
...
Fix for #119 . gin.LoadHTML* incorrectly works in debug mode.
2014-10-08 19:29:03 +02:00
Manu Mtz.-Almeida
292f1ec6df
Merge pull request #132 from smira/develop
...
Validate should ignore unexported struct fields.
2014-10-08 19:21:04 +02:00
Andrey Smirnov
e36f2945bb
Validate should ignore unexported struct fields.
2014-10-07 01:52:18 +04:00
Ludwig Valda Vasquez
e5a7bcd6df
fix typo in PR for #119
2014-09-17 07:47:29 +04:00
Ludwig Valda Vasquez
97ae4a6b65
Fix for #119 . gin.LoadHTML* incorrectly works in debug mode.
2014-09-17 07:33:13 +04:00
Manu Mtz-Almeida
0808f8a824
Adds logger source code
2014-09-13 20:37:27 +02:00
Manu Mtz.-Almeida
6fcc0a5b1d
Updates logger screenshot
2014-09-13 20:26:47 +02:00
Manu Mtz-Almeida
a6ef27d321
Merge branch 'negotiation' into develop
2014-09-13 20:10:09 +02:00
Manu Mtz-Almeida
b4a6510edf
Enables colored tag for http method in gin.Logger()
2014-09-13 15:51:29 +02:00
Manu Mtz-Almeida
e10ed9482d
Merge branch 'master' of github.com:se77en/gin into develop
2014-09-13 15:47:26 +02:00
Damon Zhao
953c589b32
change %4s to %-7s for align
2014-09-13 12:40:37 +08:00
Manu Mtz-Almeida
fd2e342569
Adds API for interrogating current mode
...
It returns one of the following values:
- gin. DebugMode
- gin. ReleaseMode
- gin. TestMode
2014-09-08 20:54:08 +02:00
Damon Zhao
6634f04d9b
(feature)add http method log-color,like http response status code
2014-09-05 15:53:53 +08:00
Manu Mtz-Almeida
d3249800e9
Removing exclamation marks in Go.
2014-09-03 17:42:49 +02:00
Manu Mtz-Almeida
21e53c0db6
Fixes responseWriter.Size()
...
- "written" boolean is not longer needed
- size is reseted
- addition instead of assignation
2014-09-03 04:25:08 +02:00
Matt Newberry
daedc0bc17
Add response body size to writer interface
2014-09-02 13:17:37 -04:00
Manu Mtz-Almeida
012c935a46
Better errors in Context.Negotiation
2014-08-31 18:41:11 +02:00
Manu Mtz-Almeida
275bdc194e
Fixes Content.Negotiate API
2014-08-31 18:28:18 +02:00
Manu Mtz-Almeida
ffea7e88a2
Working on content type negotiation API
2014-08-30 22:22:57 +02:00
Manu Mtz-Almeida
3b079bb6f7
Merge branch 'master' into develop
2014-08-29 19:50:58 +02:00
Manu Mtz-Almeida
8e5397bfa0
Adds in-code license
2014-08-29 19:49:50 +02:00
Manu Mtz-Almeida
8f1bbc6b6a
gin.responseWriter implements http.Flusher and http.CloseNotifier
2014-08-26 17:52:58 +02:00
Manu Mtz-Almeida
7a87c5cbd4
Referencing the http.Hijacker interface
2014-08-26 17:50:07 +02:00