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

1503 Commits

Author SHA1 Message Date
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
Vishal Rana
1f0bae394a Gannett digital master allow html buffers (#765)
* Since some templating engines final result is a buffer, we've been casting them to strings, which is a bit unnecessary considering under the hood Echo supports this.

* Since some templating engines final result is a buffer, we've been casting them to strings, which is a bit unnecessary considering under the hood Echo supports this.

* Update context.go

* Update context_test.go

* Update context_test.go

* Utilize same design pattern for HTMLBlob as JSONBlob

* Streamlined a few more methods

* more  consistent

Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-06 18:57:06 -08:00
Vishal Rana
f10daac5d6 recipe: twitter like api
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-05 23:04:03 -08:00
Vishal Rana
ff8a3bdc94 docs: updated
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-04 19:20:08 -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
Vishal Rana
8ab362f61d docs: update
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-25 13:05:45 -08:00
Vishal Rana
cd2530ea09 updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-22 08:19:27 -08:00
Vishal Rana
fe269b3e1c fixed ##743
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-21 14:42:13 -08:00
Jonathan Hall
d4dff985fa Minor documentation correction (#742) 2016-11-21 09:43:14 -08:00
Vishal Rana
054a310e70 updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-20 14:51:17 -08:00
Shinichi Nishimura
5a3fe3f423 [doc] updating testing documentation (#740) 2016-11-20 08:01:30 -08:00
Eric
a5b81074e7 Fix type redirect.md (#739) 2016-11-20 07:24:36 -08:00
Vishal Rana
30181613bd updated readme
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-19 22:30:53 -08:00
Vishal Rana
a2b9836e8c New look (#738)
* docs: edit on github

Signed-off-by: Vishal Rana <vishal.rana@verizon.com>

* updated docs

Signed-off-by: Vishal Rana <vishal.rana@verizon.com>

* cleaner Context#Param

Signed-off-by: Vishal Rana <vishal.rana@verizon.com>

* updated website

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

* updated website

Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-19 22:13:05 -08:00
Vishal Rana
069cddf05a updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 23:31:45 -08:00
Vishal Rana
b506209728 added robots.txt
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 22:54:46 -08:00
Vishal Rana
fd9508ca39 param alias, context#param
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 18:42:00 -08:00
Vishal Rana
b358b06311 updated docs, closes #735
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 16:21:41 -08:00
Vishal Rana
64dc9138e3 fixed .travis.yml
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 11:37:02 -08:00
Vishal Rana
0aaa61e51c updated deps, .travis.yml
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 11:29:12 -08:00
Vishal Rana
8aa0e56e50 cleaner Context#Param
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 08:00:30 -08:00
Vishal Rana
9918c9b4e9 updated docs
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-11-16 23:05:53 -08:00
Vishal Rana
57c7dccfbf docs: edit on github
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-11-16 22:51:37 -08:00
Vishal Rana
4dc8cbd255 updated docs
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-11-16 21:26:56 -08:00
Vishal Rana
f9e97332f3 fixed #729
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-15 20:12:13 -08:00
Vishal Rana
ecd3084fa5 updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-15 08:26:18 -08:00
Vishal Rana
f741b6dba7 updated readme
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-15 07:08:14 -08:00
Vishal Rana
43e95a6924 fixed docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-15 00:00:57 -08:00