1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-24 08:22:21 +02:00
Commit Graph

93 Commits

Author SHA1 Message Date
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
Vishal Rana
b9eec15c01 More test coverage
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-30 15:20:36 -07:00
Vishal Rana
a9e49e2430 Total coverage for middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-30 10:54:55 -07:00
Vishal Rana
b526a0df5b Better tests for context.go
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-29 17:20:13 -07:00
Vishal Rana
76e9b44190 Exposed DefaultHTTPErrorHandler function
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-28 16:50:49 -07:00
Vishal Rana
ac527ab4da Better implementation for serving static files.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-27 14:07:52 -07:00
Vishal Rana
e119cbc2ea Separated Group from Echo to limit API
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-22 21:24:35 -07:00
Vishal Rana
e0364caf36 Better handling in middleware for WebSocket
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-22 20:26:52 -07:00
Vishal Rana
bf85c56b08 Encapsulated fields and exposed public functions.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-22 04:40:01 -07:00
Vishal Rana
df924ffc11 Initiated HTTP2 support
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-21 23:11:27 -07:00
Vishal Rana
6f728d428d Added test from Echo.WebSocket()
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-21 22:48:34 -07:00
Vishal Rana
6878bac597 Updated docs, fixed #78.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-21 08:55:22 -07:00
Vishal Rana
a4375c4991 Fixed examples with new HandlerFunc changes
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-20 15:59:36 -07:00
Vishal Rana
13ac746093 Refactored Echo.HandlerFunc, added WebSocket support.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-20 14:38:51 -07:00
Vishal Rana
ac4d019a9a Refactored echo configuration functions
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-19 18:54:31 -07:00
Vishal Rana
5d636c1eb1 Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-18 13:38:35 -07:00
Vishal Rana
aa5e552282 Fixed #65
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-18 11:33:11 -07:00
Vishal Rana
73fa05f826 Added panic recover middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-17 22:54:29 -07:00
Vishal Rana
1ee3bc23e3 Added gzip middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-15 12:29:14 -07:00
Vishal Rana
8abd4faf08 Updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-13 15:49:09 -07:00
Vishal Rana
ba05b6e58e Added favicon api
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-13 15:20:09 -07:00
Vishal Rana
6cbabac296 Refactored middleware and handlers
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-11 20:41:28 -07:00
Vishal Rana
69a97671ad Adding http basic authentication middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-11 15:43:54 -07:00
Vishal Rana
8ace8e2143 Refactored media types and headers
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-10 22:34:31 -07:00
Vishal Rana
7f92fbf3ce Added MiddlewareFunc to the list of supported middleware, #47.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-10 21:09:28 -07:00
Vishal Rana
b416efc71c Adding NewContext function to facilitate testing
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-08 11:52:06 -07:00
Vishal Rana
04cdefb2a6 Fixed #51
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-08 11:21:50 -07:00
Vishal Rana
4226a3ab2e HTTPError default message
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-06 10:27:01 -07:00
Vishal Rana
7d5465e176 Typo in godoc
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-05 22:25:19 -07:00