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

81 Commits

Author SHA1 Message Date
Vishal Rana
cb752141f2 Add form binding
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-01 12:38:51 -07:00
Victor Gaydov
4fd9f14769 Add echo.Binder() method 2016-04-28 10:30:47 -07:00
Vishal Rana
be825e0229 Refactored variable names
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-24 10:22:15 -07:00
Vishal Rana
1c2d6341ba Fixed #474
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-18 16:59:58 -07:00
Vishal Rana
467cf05b41 Changes based on comments for #430
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-16 15:56:09 -07:00
Vishal Rana
b5d6c05101 Fixed #441, #294
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-02 14:24:51 -07:00
Vishal Rana
a66162a3d2 Logging middleware fixes
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-21 17:27:14 -07:00
Vishal Rana
e159f4d7ef Making Echo#Pre actually work.
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-17 13:24:52 -07:00
Vishal Rana
3abe661e72 Fixed nested group middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-16 20:25:58 -07:00
Vishal Rana
082814c776 Fixed #387
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-12 05:14:15 -08:00
Vishal Rana
09f3d3061f Closes #314
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-11 07:53:54 -08:00
Vishal Rana
296498c942 Fixed nested groups, reset Context#handler
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-08 19:31:11 -08:00
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
94e5936287 Fixed test cases
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-02-09 19:07:04 -08:00
Vishal Rana
bf97da9a16 Exclude fasthttp in appengine
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-02-09 11:43:00 -08:00
Vishal Rana
7b843e66c5 Wrappers for handler and middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-08 22:17:20 -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
688293b5ed v2 is compiling now
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-01-28 23:46:11 -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
9650c39055 Bumped to v1.3
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-12-01 15:06:18 -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
0163cddab5 Putting Echo#Server back
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-15 13:32:21 -08:00
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
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
Vishal Rana
0176385654 Moved examples to recipes
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-08 20:10:55 -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
5b019c507e Handling 405 & pre-flight requests
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-06 06:48:33 -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
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
4dcb57d42a Enhanced method lookup in router
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-24 12:03: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
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
a31fd9eb09 subdirectory index functionality 2015-06-19 17:39:05 -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
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
df43772757 Added tests for Group
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-29 16:00:02 -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
6f728d428d Added test from Echo.WebSocket()
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-21 22:48:34 -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