1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-28 08:38:39 +02:00
Commit Graph

121 Commits

Author SHA1 Message Date
Vishal Rana
cba2724de3 Set echo as handler for Echo#RunServer*
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-15 12:08:12 -08:00
Vishal Rana
1f8ecfd610 Closes #257
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-15 11:50:35 -08:00
Vadim Komarov
35398b4200 Update http2 package import
github.com/bradfitz/http2 -> golang.org/x/net/http2
2015-10-20 00:09:59 +05:00
Vishal Rana
9ea3463d2c Fixed #238
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-16 07:51:33 -07:00
Vishal Rana
f839210454 Getting echo reference from the node
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-06 11:04:36 -07:00
Vishal Rana
5b019c507e Handling 405 & pre-flight requests
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-06 06:48:33 -07:00
Vishal Rana
1efe837fdd Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-05 15:52:07 -07:00
Hasty Granbery
87fd53d230 Fixed #178
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-21 09:01:33 -07:00
Ben Huson
799f01a87b Adding IP Addresses in log entries
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-18 11:07:43 -07:00
Vishal Rana
27cedaf411 Using filepath instead of path
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-18 11:07:34 -07:00
Vishal Rana
c9a581815a Fixed #210
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-17 08:18:58 -07:00
Vishal Rana
eef1574969 go fmt ./...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-15 13:20:59 -07:00
Vishal Rana
3bd10bd651 Refactored debug mode api
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-13 10:34:15 -07:00
Vishal Rana
e0a40f864c Merge pull request #192 from labstack/issue-180
Closes #180
2015-09-01 11:32:12 -07:00
Vishal Rana
8aaf620c2d Closes #180
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-01 11:24:36 -07:00
Vishal Rana
507c69ec80 StripTrailingSlash is now an option
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-01 08:03:01 -07:00
Vishal Rana
fec348385e Added new functions: Echo.Any & Echo.Match
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-08-25 20:36:15 -07:00
Vishal Rana
9216043df5 Refactored some functions
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-08-25 01:03:33 -07:00
Vishal Rana
6fdd292a1f Closed #170
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-31 19:25:03 -07:00
Vishal Rana
832fd111d4 Binder interface instead of BinderFunc
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-30 14:43:22 -07:00
Vishal Rana
9b47516c50 Fixed #165
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-27 22:51:53 -07:00
Vishal Rana
d077efe91a Fixed #162
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-27 08:43:11 -07:00
Vishal Rana
1ae7ef40e0 Don't send http error if response already committed.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-24 18:54:42 -07:00
Will Fitzgerald
9257875cb7 Added JSONP API in Context
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-24 16:23:35 -07:00
axdg
523ac4a9a0 Handle invalid status code in Context.Redirect
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-24 15:09:41 -07:00
Vishal Rana
4dcb57d42a Enhanced method lookup in router
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-24 12:03:36 -07:00
Vishal Rana
99f2868bcc Refactored contants for media types
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-22 04:44:29 -07:00
Vishal Rana
17c83a01a4 Fixed #149
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-20 19:24:33 -07:00
Vishal Rana
cd111b826c Added API to enable/disable colored log.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-17 23:00:19 -07:00
Vishal Rana
15ce60e346 Fixed #141
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-16 08:05:16 -07:00
Vishal Rana
6430299ca0 Fixed #135
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-13 23:36:56 -07:00
Vishal Rana
4b229cab83 Fixed #84 - Added API to disable the colored log
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-12 21:40:27 -07:00
Vishal Rana
cb5eb336b1 Fixed type in charset=utf-8
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-12 08:38:00 -07:00
Vishal Rana
c4357ca80b Fixed #131 - Use utf-8 encoding for bind and render API
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-12 08:29:36 -07:00
Nicolas Pouvesle
1757d1f8c7 Added XML encoding/decoding API.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-11 16:01:11 -07:00
Vishal Rana
ba42c8f32c Clear echo.Response if there is error while rendering.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-07 17:34:59 -07:00
axdg
4686f882d6 Updated recipes examples and docs.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-02 13:50:07 -07:00
Merten van Gerven
07c0cf21f0 New API Echo.Server
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-27 21:47:46 -07:00
Chase Hutchins
50fb7e0050 More coverage for compress middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-26 21:24:14 -07:00
Chase Hutchins
3e7a66392e fixing windows issue with static paths 2015-06-24 21:20:46 -07:00
Chase Hutchins
356909c49e Content type sniffing for compress middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-24 15:36:05 -07:00
Vishal Rana
fb0a5072b6 Support for nested folder #100
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-19 17:52:42 -07:00
Vishal Rana
d04651dc2a Fixed #100
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-19 15:37:26 -07:00
Vishal Rana
45a7e7d6f2 Closed #71
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-09 20:06:51 -07:00
Vishal Rana
ae721bd2b2 Bug in gzip, fixed #95, #96.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-09 15:24:01 -07:00
Vishal Rana
1ac5425ec4 Fixed #95
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-09 09:16:52 -07:00
Vishal Rana
80a4b41e16 Fixed build error
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-03 16:19:03 -07:00
Vishal Rana
e7c1d5d9fb Not need of Echo.SetMaxParam
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-03 15:18:27 -07:00
Vishal Rana
aab17b9f69 Fixed #77
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-01 00:07:53 -07:00
Vishal Rana
b65641350e Fixed #37
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-31 09:42:28 -07:00