1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-20 19:52:47 +02:00
Commit Graph

1106 Commits

Author SHA1 Message Date
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
a5696d631c Merge pull request #172 from axdg/master
OPTIONS method was returning the wrong node of the radix tree
2015-07-30 10:13:33 -07:00
axdg
2a935abe1e Options http method fix 2015-07-31 02:29:23 +10:00
Vishal Rana
b4da73313f Removed RedirectToSlash middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-28 15:26:17 -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
Vishal Rana
5ac2b8abfa Removed jsonp recipe
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-24 16:25:24 -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
netmml
96e5761b75 Added license badge 2015-07-24 15:41:43 -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
fd427bc943 Fixed #151 - panic for invalid HTTP method
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-21 12:46:50 -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
6da918876f Closes #143
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-19 10:32:30 -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
e550355a5f Update docs with new API
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-16 23:03:45 -07:00
netmml
ace5843983 Fixed jwt-auth recipe link in README
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-16 08:27:40 -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
533792b86c Merge pull request #138 from chrisseto/feature/redirect-return
Context.Redirect now returns an error
2015-07-15 08:01:47 -07:00
Chris Seto
22ad37bace Context.Redirect now returns an error
Context.Redirect will now return nil allowing users to do:
    return context.Redirect(...)
  rather that having to return nil everytime Redirect is used, ie:
    context.Redirect(...)
    return nil
2015-07-14 21:35:28 -04:00
Vishal Rana
6d733d3120 Fixed #1 - Reset context
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-14 10:56:23 -07:00
Vishal Rana
6430299ca0 Fixed #135
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-13 23:36:56 -07:00
Chase Hutchins
959f4bd1ab Updated websocket recipe
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-12 21:49:21 -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
Chase Hutchins
f9a7f46edc fixing websocket recipe 2015-07-12 15:41:46 -07:00
Vishal Rana
3c917b4c11 Merge branch 'master' of https://github.com/labstack/echo 2015-07-12 08:38:52 -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
7196e16986 Merge pull request #130 from syntaqx/master
Ignore Recipes in Linguist
2015-07-12 08:29:48 -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
Chase Hutchins
0a613033a0 adding recipes to linguist ignore 2015-07-11 16:16:43 -07:00
Vishal Rana
4abea5d987 Merge pull request #129 from syntaqx/master
Adding middleware
2015-07-11 16:05:19 -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
Chase Hutchins
1172c52e19 adding syntaqx/echo-middleware 2015-07-11 15:30:26 -07:00
Vishal Rana
62bc8575ce Added JWT recipe
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-08 22:29:53 -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
35d018c671 Removed JWT middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-05 11:32:37 -07:00
Vishal Rana
8f489d47f3 Added new APIs
Context.Query - Read query param
Context.Form - Read form param

Fixed #124

Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-05 11:08:17 -07:00
Vishal Rana
a3e74772e7 Closes #122, Closes #97
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-03 11:51:28 -07:00
Vishal Rana
d70ad0a6c7 Update docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-02 23:21:21 -07:00
Vishal Rana
10c44a6f8c Updated recipe for WebSocket
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-02 22:57:09 -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
Vishal Rana
99aa92eb06 Added subdomains recipe closes #121
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-01 22:44:09 -07:00
Vishal Rana
992f5ef005 Updated docs and recipes
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-30 22:59:26 -07:00
Vishal Rana
1220ca38f2 Add recipes section in docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-30 11:51:08 -07:00
Merten van Gerven
33eb3fb67b Example usage of echo with github.com/facebookgo/grace/gracehttp and github.com/tylerb/graceful 2015-06-28 14:35:17 +02: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
Vishal Rana
b85f9dd147 Update README.md 2015-06-27 21:47:42 -07:00