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

59 Commits

Author SHA1 Message Date
Vishal Rana
4f08fed018 Fixed #378
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-06 23:24:51 -08:00
Vishal Rana
d5ba76ed81 Router fix, #217, #371, #372.
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-03 22:06:47 -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
0884290766 Added X() method to return context
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-12-04 08:13:26 -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
51f118b0ee Refactored variable type to kind
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-07 15:10:40 -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
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
f251eead67 Fixed #184
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-15 08:29:29 -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
4dcb57d42a Enhanced method lookup in router
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-24 12:03:36 -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
b9eec15c01 More test coverage
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-30 15:20:36 -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
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
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
c58ec742a9 Enhanced router priority
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-09 22:06:13 -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
f80fff4efb issue #50
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-05 21:55:49 -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
Vishal Rana
ab1e479ada #46
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-30 18:47:13 -07:00
Vishal Rana
02ca5e4443 Fixed #44
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-28 23:09:30 -07:00
Vishal Rana
67b1dfea04 Fixed #32
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-26 12:44:38 -07:00
Vishal Rana
0a075ce7c5 Fixed catch all param
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-26 09:48:49 -07:00
Vishal Rana
2b87e75870 Fixed #38, #30
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-25 22:32:20 -07:00
Vishal Rana
c7ddf65594 Fixed a router test
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-24 07:54:45 -07:00
Vishal Rana
1033df5ac0 Fixed #22
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-24 07:44:30 -07:00
Vishal Rana
381fbae1ff Default handler now returns error.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-18 16:47:48 -07:00
Vishal Rana
90ff3c14b2 clean up
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-13 21:57:36 -07:00
Vishal Rana
abea41de11 fixed conflicting routes #22
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-13 13:12:30 -07:00
Vishal Rana
fefbfeb28c Fixed conflicting routes bug #22, #16
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-12 13:04:41 -07:00
Vishal Rana
724e92fdca router node type removed
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-12 08:05:29 -07:00
Vishal Rana
eca5d87221 fixed broken build
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-11 13:52:40 -07:00
Vishal Rana
6633a1fca7 New renderer interface #21
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-09 14:59:31 -07:00
Vishal Rana
2342df3e61 Cleanup on router
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-08 14:40:49 -07:00
Vishal Rana
86138ed18e Changed constants
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-05 21:49:55 -07:00
Vishal Rana
7b433cdd74 Test route api
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-05 21:00:14 -07:00
Vishal Rana
47fb44deb5 More coverage and cleanup
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-05 20:08:52 -07:00
Vishal Rana
9d44f49ccc More binding and rendering functions
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-05 14:21:03 -07:00
Vishal Rana
3680eb5391 Cleaner find logic in router
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-04 10:44:48 -07:00
Vishal Rana
d0f44c90ba Minor changes in router
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-03 15:40:36 -07:00