Vishal Rana
70c18060bd
Fixed #988 , Closed #989
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-08-14 21:48:19 -07:00
Vishal Rana
b42edd791f
Closes #980
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-08-02 23:16:11 -07:00
Guilherme Oenning
f8c3008787
Request: New bind property for route parameters ( #973 )
...
* bind route params
* rename to bindPathData
2017-07-25 07:22:19 -07:00
Nick Law
e0ea129c5c
Expose echo.Add() for dynamic route registration ( #965 )
2017-07-03 19:10:58 -07:00
Vishal Rana
687f05470a
Zhaojkun httperror message ( #959 )
...
* Change echo http error message
* Add test case
* Fixed test cases
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-20 08:58:53 -07:00
Vishal Rana
c05db06020
Fixed #947 , closes #948
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-07 08:23:43 -07:00
Sub
0dfcb31d9e
Automatically use JSONPretty/XMLPretty if '?pretty' in querystring ( #916 )
...
* Automatically use JSONPretty/XMLPretty if '?pretty' in querystring
* Update unit test cases
* Simplify code according comments
* Update guide for pretty json/xml
2017-04-27 21:41:46 -07:00
Vishal Rana
29fd5831ff
Fixed test
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-22 15:57:12 -08:00
Vishal Rana
069e80b9e0
Mention about custom listener
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-18 12:17:44 -08:00
Vishal Rana
9797cf4b9c
gc
...
Removed graceful shutdown, fixed #797
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-13 18:40:27 -08:00
Vishal Rana
5706940bc8
HTTPError#Message is now interface
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-10 22:05:41 -08:00
Vishal Rana
0e7a9c1d49
exposed default binder, tag for binding query params
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-10 09:06:29 -08:00
Vishal Rana
20954afd66
fixed json, xml pretty print
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-09 11:13:55 -08:00
Vishal Rana
093e5c9ed6
updated recipes
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-20 16:57:31 -07:00
Vishal Rana
d5b3fef5c9
removed deprecated functions group.go
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-13 14:04:08 -07:00
Vishal Rana
15eb5b0aad
removed embedded context and exposed SetRequest
in context
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-10 17:31:26 -07:00
Vishal Rana
0349e883f5
Moved logger to root
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-25 13:14:18 -07:00
Vishal Rana
dd22cf9593
Updated deps
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-25 11:41:08 -07:00
Vishal Rana
d069d9b3a9
Test cased for Echo#Start/Shutdown
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-24 17:50:38 -07:00
Vishal Rana
7a7b394f14
Using graceful by default
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-24 16:19:38 -07:00
Vishal Rana
7f60fcda63
WebSocket API
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-23 05:55:27 -07:00
Vishal Rana
1ceb2662ba
Wrap handler and middleware functions
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-23 05:31:48 -07:00
Vishal Rana
2aec0353f5
First commit to v3, #665
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-22 22:56:00 -07:00
Vishal Rana
451b2ccc9f
Exposed error handlers
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-05 08:43:46 -07:00
Vishal Rana
a0bc02815f
Fixed #551
2016-06-06 16:56:09 -07:00
Oleg Lobanov
91d1f199cb
fix routes test failure.
2016-06-01 16:35:59 +04:00
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
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