1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-30 08:46:41 +02:00
Commit Graph

320 Commits

Author SHA1 Message Date
Vishal Rana
a26bc31e27 Setting log level to ERROR
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-08-17 19:46:17 -07:00
Nick Law
e0ea129c5c Expose echo.Add() for dynamic route registration (#965) 2017-07-03 19:10:58 -07:00
Vishal Rana
ee85b46a05 Changed signature for response before func
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-29 10:59:21 -07:00
Vishal Rana
f96c973a25 Fixed #176, closed #831
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-28 17:01:48 -07:00
Vishal Rana
7c614588bc Updated github issue template
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-22 11:27:49 -07:00
Miha Valencic
c04b028852 Support route naming and generating URLs based on route names (#960)
* Route registration methods return Route object

* Renamed Route#Handler to Route#Name

* Adding route return value to Any, Match, Static and File methods.
2017-06-22 10:59:02 -07:00
Vishal Rana
935a60782c Missed version label
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-21 08:07:43 -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
dc0f2d7327 Fixed url.PathUnescape for go1.7
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-07 08:57:31 -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
Vishal Rana
bd96cc3c15 Fixed #947
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-06 14:59:35 -07:00
Vishal Rana
c3887ebb13 Added Context#IsWebSocket(), proxy fix header
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-04 10:39:08 -07:00
TossPig
353a2f8b78 Get The HeaderXForwardedProto (#941)
* Get The HeaderXForwardedProto

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto

* add HeaderXForwardedSsl

* Get The HeaderXForwardedSsl
2017-06-04 09:41:17 -07:00
Vishal Rana
0898d9e68b Exposed proxy balancer interface
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-06-03 17:37:35 -07:00
Vishal Rana
3359eae306 Add json tags to route struct
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-05-16 16:29:33 -07:00
Vishal Rana
8f5fb6395a Dropping mutex from ServeHTTP
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-05-13 14:12:35 -07:00
Vishal Rana
0e134ee37c Closes #928
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-05-12 10:47:24 -07:00
Vishal Rana
1302a08009 Fixed #925
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-05-10 10:28:50 -07:00
Vishal Rana
eac431df0d Error forbidden
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-19 18:18:53 -07:00
Vishal Rana
b2430fc4a8 Fixed #878
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-15 12:11:47 -07:00
Vishal Rana
4b4a09fd31 Using random.String() for generating id
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-03-06 13:39:36 -08:00
Vishal Rana
b218599906 Fixed #864 (#865)
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-28 12:04:29 -08:00
Vishal Rana
049518f8c4 Fixed static middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-23 12:27:48 -08:00
Vishal Rana
29fd5831ff Fixed test
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-22 15:57:12 -08:00
Vishal Rana
d259f88324 Enabled security while serving static files
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-22 14:21:28 -08:00
Vishal Rana
70be2c2f87 Fixed import path
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-02-19 19:40:18 -08:00
Vishal Rana
c7c4395fbd Fixed #794
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-31 13:55:39 -08:00
Vishal Rana
8fec907eec Mutex to dynamically make changes (#828)
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-24 10:48:11 -08:00
Vishal Rana
4772b6e7f7 Removed port check from auto tls
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-24 10:46:35 -08:00
Vishal Rana
7025f55cab Error for non 443 port for auto tls
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-23 15:39:19 -08:00
Vishal Rana
900a463715 Fixed #817
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-21 10:40:11 -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
b2c623b07d Fixed a typo
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-15 17:11:04 -08:00
Vishal Rana
093edb39ab Removed banner
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-15 12:56:35 -08:00
Vishal Rana
736d153c29 Startup banner 2017-01-14 12:49:58 -08:00
Vishal Rana
db8b2ce62c Fixed port display
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-14 09:22:30 -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
a09afe2c97 Fixed #798
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-11 15:18:04 -08:00
Vishal Rana
412823eabb Added key auth middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-02 20:12:06 -08:00
Vishal Rana
6e107bc897 Not sending internal errors
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-29 08:19:52 -08:00
Vishal Rana
039394fdbc Updated deps
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-25 21:42:46 -08:00
Vishal Rana
dc92c26084 exposed read timeout, write timeout properties, updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-15 18:44:06 -08:00
Vishal Rana
01334bc7b2 enabled validator, updated docs, fixed #298, fixed #438, fixed #305
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-12 17:19:41 -08:00
Vishal Rana
70b5cfbb26 fixed http error handler
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-11 14:57:14 -08:00
Vishal Rana
8f0d340f34 fixed default http error handler to send err detail
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-11 13:06:36 -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
95e1bd485f fixed #766
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-08 13:55:43 -08:00
Vishal Rana
8d504c1b69 issue: fixed #755 (#758)
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-02 09:28:18 -08:00
Vishal Rana
73110004ef doc: updated, recipe: auto tls
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-28 20:34:29 -08:00