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 |
|
Vishal Rana
|
533ff91881
|
Changed examples, web > website
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-05-18 13:41:50 -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
|
f5a385b547
|
Middleware with options
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-05-14 16:25:49 -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
|
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
|
f80fff4efb
|
issue #50
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-05-05 21:55:49 -07:00 |
|
Vishal Rana
|
2330dd27a7
|
Minor changes
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-04-29 11:30:45 -07:00 |
|
Vishal Rana
|
dd9bc2de9c
|
Added echo.HandlerFunc to handlers
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-04-26 22:41:41 -07:00 |
|
Vishal Rana
|
ff75c9c907
|
Closing 39
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-04-26 18:06:18 -07:00 |
|
Tim Anema
|
8dd92bce97
|
test for nested group
|
2015-04-26 18:27:20 -04:00 |
|
Vishal Rana
|
8d3cd84852
|
Fixed #12
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-04-21 22:12:41 -07:00 |
|
Vishal Rana
|
2e5d09d225
|
Putting func(http.Handler) http.Handler middleware back
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-04-20 23:17:21 -07:00 |
|
Vishal Rana
|
3eeea660fa
|
Dropped support for func(http.Handler) http.Handler middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-04-19 16:00:23 -07:00 |
|
Vishal Rana
|
f134ea3aea
|
Change middleware function signature.
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-04-18 21:46:00 -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
|
4c8797f09e
|
Priority routes handled ✌️
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-04-11 10:09:41 -07:00 |
|
Vishal Rana
|
a95d6668f3
|
#10
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-04-07 13:02:23 -07:00 |
|
Vishal Rana
|
eed30582ae
|
c.Text > c.String
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-04-06 07:52:00 -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
|
47fb44deb5
|
More coverage and cleanup
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-04-05 20:08:52 -07:00 |
|
Vishal Rana
|
c2d29f3895
|
more coverage
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-04-05 15:30:03 -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
|
644ee47399
|
Sub router & group API added, fixes #10
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-04-02 14:41:36 -07:00 |
|
Vishal Rana
|
d8aae6ea43
|
Changes for sub router #10
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-04-02 05:02:52 -07:00 |
|
Vishal Rana
|
181d948773
|
Fixed #9
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-04-01 08:05:54 -07:00 |
|
Vishal Rana
|
e8d7d88c4e
|
Coverage bumped to 80%
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-03-30 20:54:38 -07:00 |
|
Vishal Rana
|
8b800e12a2
|
Improved test cases
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-03-30 07:38:53 -07:00 |
|
Vishal Rana
|
e08b3f78e8
|
Coverage for handler
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-03-29 23:35:08 -07:00 |
|
Vishal Rana
|
c29ae7dd7d
|
Added coverage for middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-03-29 20:44:55 -07:00 |
|
Vishal Rana
|
ff479f2fa0
|
Changed example to reflect new name
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-03-27 14:35:15 -07:00 |
|