1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-22 20:06:21 +02:00
Commit Graph

1141 Commits

Author SHA1 Message Date
Vishal Rana
e8910be0ac Updated deps and docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-21 10:20:59 -08:00
Peter Fern
8cd3cb043b logger: Don't copy lock value in LoggerConfig.pool, use a pointer (#825)
Fixes #710 `go vet` failures
2017-01-21 10:18:34 -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
49321f5829 Updated website and examples
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-17 10:47:16 -08:00
Vishal Rana
a89cf4d0c2 Fixed doc search
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-16 16:40:45 -08:00
Jonathan Hall
ed7353cf60 Fix binding of untagged struct fields (#812)
* Add failing test

A BindUnmarshaler struct with no tag is not decoded properly.

* Fix binding of untagged structs
2017-01-15 23:13:46 -08:00
Vishal Rana
80d5c96212 Closed #823
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-15 22:30:58 -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
Piyush Chauhan
04a7fc65e3 Correcting the BasicAuth Method (#822)
Current method gives type error because `context` variable is not present. Adding the `c echo.Context` for resolving type error.
2017-01-14 20:16:33 -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
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