1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-20 19:52:47 +02:00
Commit Graph

1731 Commits

Author SHA1 Message Date
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
8526358e8a Fixed logger middleware error return
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-12 16:08:12 -08:00
Vishal Rana
f56450d8ce Fixed #821
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-12 09:09:51 -08:00
Vishal Rana
0696d55586 Updated logger docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-11 21:02:34 -08:00
Vishal Rana
ce6b1e20db Logger middleware interface (#820)
* Modified logger format

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

* Logger middleware via struct

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

* Fixed time format

Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-11 20:07:51 -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
ea1c7c5ba7 Fixed #811, closes #810
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-10 08:45:44 -08:00
Vishal Rana
63262b2311 Recipes => examples
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-09 20:23:57 -08:00
Vishal Rana
35742c9f04 Update website
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-09 20:20:51 -08:00
Brett
73b7ecaed5 correct wrong package reference (#809)
Discard is not part of the io package, it is part of ioutil
2017-01-09 18:57:14 -08:00
Vishal Rana
8047be7f12 Updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-05 21:52:18 -08:00
Vishal Rana
9fe724dedb Fixed #802, closes #773
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-05 12:38:39 -08:00
Vishal Rana
4cbef06bef Fixed basic auth middleware, closes #799
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-05 12:12:31 -08:00
bill
bf317578d7 correct the document about disabl logs (#801)
there is a spelling error , it`s disable not disabl:)
2017-01-04 13:20:36 -08:00
Vishal Rana
54fb1015c1 Pretty print in debug mode
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-04 12:00:49 -08:00
Vishal Rana
c935874aa8 Fixed #797
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-04 11:39:28 -08:00
Vishal Rana
ee2ac3b9a2 Key auth validator now accepts context
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-03 20:48:21 -08:00
Vishal Rana
97c680662d Fixed key auth middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-02 23:09:46 -08:00
Clinton Freeman
ff27cfaab3 removed old/deprecated import. (#796) 2017-01-02 21:33:42 -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
Tobias Schwarz
ab203bf19c Add directory to store the certificate and mention rate limits (#795)
The certificate must be cached to avoid problems with rate limits during testing.
2017-01-02 16:36:37 -08:00
Ted Kornish
eb7ebca112 Correct comment for Context.Response (#793) 2017-01-01 22:02:14 -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
imeoer
04ed761d41 Change 'Context-Type' to 'Content-Type' in guide document (#788) 2016-12-25 23:23:05 -08:00
Vishal Rana
039394fdbc Updated deps
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-25 21:42:46 -08:00
Jonathan Hall
9cdc439f34 Support BindUnmarshaler for basic types (#786)
* Add a failing test for #784

* Change ordering of unmarshaler, to handle BindUnmarshalers first

* Add test for arrays of BindUnmarshalers
2016-12-23 10:01:42 -08:00
Vishal Rana
869cdcd19a Dropped Response#Writer/SetWriter functions
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-21 18:56:35 -08:00
Vishal Rana
d9a6052c67 Closes #489, Closes #781, Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-20 23:13:46 -08:00
Vishal Rana
562021ed2d fixed #781
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-20 13:58:45 -08:00
Vishal Rana
f5f75122ba fixed #750
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-19 11:43:24 -08:00
Vikram Sreekumar
23176c639e jwt-authscheme: support for custom jwt auth scheme
- added "AuthScheme" in the JWTConfig and set default value to
	  "Bearer".
	- added test case for validating JWT Auth with a custom auth
	  scheme.
2016-12-19 11:39:31 -08:00
guidola
6009a3d08a Update body-limit.md (#778)
Unbalanced brackets on body-limit middleware custom configuration example
2016-12-18 11:11:25 -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
c848119eef fixed #763
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-15 11:08:56 -08:00
Jonathan Hall
a66875f17d Add a BindUnmarshaler interface (#764)
This is inspired by interfaces like json.Unmarshaler, and can be used to
unmarshal custom data types from form/query data.
2016-12-15 10:23:14 -08:00
Yamamori Akihiro
874d336c7d Added an example of String response (#775) 2016-12-15 08:30:54 -08:00
Vishal Rana
561f15ccf1 docs: updated
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-13 23:15:44 -08:00
Vishal Rana
fa280ce882 docs: removed godocs link
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-13 21:53:28 -08:00
Vishal Rana
294601a6ba docs: add guide/response
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-13 20:26:25 -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
20954afd66 fixed json, xml pretty print
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-09 11:13:55 -08:00
Vishal Rana
133f7acf21 fixed #762
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-09 10:24:14 -08:00
Michael Köppl
f0b235c108 Fix typo (#767) 2016-12-09 09:05:40 -08:00
Vishal Rana
95e1bd485f fixed #766
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-08 13:55:43 -08:00