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

245 Commits

Author SHA1 Message Date
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
335b1d0622 Custom logger for graceful
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-25 11:56:51 -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
26c35d8f74 Fixed tls config
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-24 22:36:53 -07:00
Vishal Rana
17d59627a8 Separated tlsconfig
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-24 22:01:38 -07:00
Vishal Rana
fc8c033f3c Log message for starting server
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-24 20:50:35 -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
59e812f7b9 Separated tls and http server
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-24 17:19:50 -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
ed3c611321 Using same Server instance for http and tls
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-23 13:31:33 -07:00
Vishal Rana
fe459537b7 Playing with tls, ports and friends
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-23 11:29:50 -07:00
Vishal Rana
73af8e04cd Run to start, exposed tls config
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-23 08:29:16 -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
322b375a37 Issue 655 (#657)
* Closes #655, closes #649

Signed-off-by: Vishal Rana <vr@labstack.com>

* Added http/1.1 to the list
2016-09-12 06:18:58 -07:00
Vishal Rana
18b9e23ace Closes #364
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-18 11:27:37 -07:00
Vishal Rana
50fed083a7 Fixed #608
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-02 13:11:12 -07:00
Vishal Rana
b23e7c090a Revert "Revert "closes #605", closes #606"
This reverts commit a75cbc85f8.
2016-07-27 09:11:18 -07:00
Vishal Rana
a75cbc85f8 Revert "closes #605", closes #606
This reverts commit eed456ee87.
2016-07-27 09:04:41 -07:00
Vishal Rana
eed456ee87 closes #605
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-26 10:06:14 -07:00
Vishal Rana
451b2ccc9f Exposed error handlers
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-05 08:43:46 -07:00
Russ Egan
2eb5d97b19 Fix issue with middleware from one route leaking into the middleware of other routes
Fixed #565

Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-16 07:29:25 -07:00
Vishal Rana
f4088cf594 Added JSON logging
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-08 17:16:03 -07:00
Vishal Rana
a0bc02815f Fixed #551 2016-06-06 16:56:09 -07:00
Vishal Rana
4e98fa9664 Fixed #500
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-06 09:47:22 -07:00
Vishal Rana
d0ed5830c4 Test coverage for cookie.go and context.go
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-05 22:25:34 -07:00
Vishal Rana
09a2ce60a6 About context #500
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-05 13:47:59 -07:00
Ollie Phillips
c71ecb845c For consistency, added additional header constant for 'Allow' named 'HeaderAllow', which is missing when forming responses to OPTIONS method requests 2016-06-02 21:40:21 +01:00
Vishal Rana
0d2dac7532 Fixed #536
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-31 20:59:52 -07:00
Vishal Rana
a98843b6e5 Logger as interface, fixed #533, fixed #349, fixed #304
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-31 18:29:11 -07:00
Vishal Rana
23eb4f87db API to define a custom logger
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-29 08:34:44 -07:00
Vishal Rana
7a66f226f2 Changed website url
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-24 14:51:26 -07:00
Vishal Rana
c24f06e7cb Fixed #520
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-22 08:45:36 -07:00
Vishal Rana
795ab0ad77 Error handler now printing error messages
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-19 08:30:20 -07:00
Vishal Rana
98dd8bf9e9 Added CSRF middleware, #341.
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-12 17:45:00 -07:00
Vishal Rana
682a5580b7 Deprecated Echo#GetContext() => Echo#AcquireContext(), Echo#PutContext() => Echo#ReleaseContext()
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-03 17:23:31 -07:00
Vishal Rana
6424d779dc Added test for secure middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-03 08:32:28 -07:00
Vishal Rana
f0526349ff Fixed #499
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-02 22:41:07 -07:00
Vishal Rana
190cf80d02 Fixed #432, Fixed #167.
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-05-02 16:19:35 -07:00
Vishal Rana
cb752141f2 Add form binding
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-01 12:38:51 -07:00
Vishal Rana
0edb17e978 Added body limit middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-30 20:08:06 -07:00
Victor Gaydov
4fd9f14769 Add echo.Binder() method 2016-04-28 10:30:47 -07:00
Vishal Rana
24a19223b0 Added method override middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-27 21:08:30 -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
1247552c9b Fixed https://github.com/labstack/echox/issues/9
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-20 07:32:51 -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
fd104333f2 Fixed #430, Closes #469
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-16 09:15:37 -07:00
Vishal Rana
288164d00a Server header constant
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-14 12:26:54 -07:00