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

89 Commits

Author SHA1 Message Date
Vishal Rana
caf3bd31eb - Handler and middleware signature changed
- Pre chain middleware

Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-15 19:32:16 -08:00
Vishal Rana
51acf465fe - Moved static file serving to a new handler package
- Middleware at route level
- Group middleware is a in closure now

Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-15 08:11:29 -08:00
Vishal Rana
0731959a98 Object method to get real object
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-08 16:48:03 -08:00
Vishal Rana
f405794a7c Now using sync.Pool
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-04 14:40:08 -08:00
Vishal Rana
dbd1e8e230 Separated recipes from the main repo
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-01-09 11:00:13 -08:00
Vishal Rana
33d8813eb5 Revert "Revert "Fixed Request.Out""
This reverts commit 72050d765b.
2015-12-21 15:20:49 -08:00
Vishal Rana
72050d765b Revert "Fixed Request.Out"
This reverts commit cced590a16.
2015-12-21 15:18:53 -08:00
Vishal Rana
cced590a16 Fixed Request.Out
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2015-12-21 15:18:03 -08:00
Vishal Rana
72459fe299 Step towards v2
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-12-03 17:23:53 -08:00
Vishal Rana
2ad06ce67e Fixed #265
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-22 09:26:11 -08:00
Vishal Rana
c578a662a0 Closes #261
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-19 07:40:24 -08:00
Vishal Rana
f09efac326 Revert #257
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-16 07:57:40 -08:00
Vishal Rana
1f8ecfd610 Closes #257
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-15 11:50:35 -08:00
Vishal Rana
56954bc0b6 Closes #235, Closes #203
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-12 20:23:14 -08:00
Vishal Rana
cddd4a6676 Support for 405 - method not allowed, closes #205
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-03 16:31:29 -08:00
Christopher Swenson
26620f505e OPTIONS should route to the options handler
OPTIONS routing broke in 5b019c507e
2015-10-23 17:02:28 -07:00
Vishal Rana
51f118b0ee Refactored variable type to kind
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-07 15:10:40 -07:00
Vishal Rana
0f82a6439b Removed 405 handling for now
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-06 13:56:01 -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
c0571e37c3 Moving some logic around
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-24 15:15:52 -07:00
Vishal Rana
51a1ef432c Fixed #222
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-24 14:14:01 -07:00
Vishal Rana
926cc42506 Fixed #219
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-21 06:50:32 -07:00
Vishal Rana
2274d47f89 Fixed #218
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-20 21:38:16 -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
853e650ee2 Fixed #207
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-16 19:37:37 -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
f251eead67 Fixed #184
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-15 08:29:29 -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
832fd111d4 Binder interface instead of BinderFunc
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-30 14:43:22 -07:00
axdg
2a935abe1e Options http method fix 2015-07-31 02:29:23 +10:00
Vishal Rana
d077efe91a Fixed #162
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-27 08:43:11 -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
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
45a7e7d6f2 Closed #71
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-09 20:06:51 -07:00
Vishal Rana
33886c8758 Improved router performance
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-05 15:08:32 -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
6d4864ac4f Fixed router tests
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-30 15:40:38 -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
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
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
ba05b6e58e Added favicon api
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-13 15:20:09 -07:00
Vishal Rana
1b757d99d8 Changed default port in examples
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-10 08:33:44 -07:00
Vishal Rana
c58ec742a9 Enhanced router priority
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-09 22:06:13 -07:00
Vishal Rana
54d2f72368 Fixed #49
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-04 21:02:53 -07:00
Vishal Rana
fcbdaae620 Fixed /folders/ & /folders/* routes
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-04 13:01:02 -07:00