1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-04 09:42:48 +02:00
Commit Graph

86 Commits

Author SHA1 Message Date
Vishal Rana
f5f75122ba fixed #750
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-19 11:43:24 -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
5706940bc8 HTTPError#Message is now interface
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-10 22:05:41 -08:00
Vishal Rana
133f7acf21 fixed #762
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-09 10:24:14 -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
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
fe269b3e1c fixed ##743
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-21 14:42:13 -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
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
b358b06311 updated docs, closes #735
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 16:21:41 -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
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
Vishal Rana
c5a3575d4c updated migration guide
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-14 22:54:09 -08:00
Vishal Rana
2f70d3e1c7 fixed #712
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-12 20:34:52 -08:00
Vishal Rana
0fca54f389 updated docs, readme and benchmark tests
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-12 09:47:49 -08:00
Antonio Pagano
f869c9dbab [doc] updating docs based on #667 (#713) 2016-11-08 10:19:30 -08:00
Vishal Rana
c0822c0427 updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-06 12:46:21 -08:00
Antonio Pagano
4f1aef1469 Allows LoggerConfig to add new header, form, path and query tags (#708)
* [feature] implementing new log configuration tags for headers, form, query and path

* [refactor] merging all tests and removing path from the tags available for the logger

* [doc] updating middleware logger doc

* [tests] adding test cases for the other tags on the logger template

* [cleaning] moving h reference on tests to be a direct assignment given we dont need the reference to h anymore
2016-11-02 13:08:51 -07:00
Antonio Pagano
2cb612ff57 changes README's hello-world example for v3 (#698)
* [doc] adding graceful documentation and example.

* adding myself to the maintainers list and minor comment formatting change

* [doc] updating code on the guides/context.md and guides/cookies.md to use v3 code.

* [doc] updating error-handling and request to v3 codebase

* [doc] updating templates documentation

* [doc] cleaning hello-world documentation for v3

* [content] adding website index content based on #667
2016-11-01 08:33:56 -07:00
Antonio Pagano
966839dfea Updating guides to according to V3 Codebase (#691)
* [doc] adding graceful documentation and example.

* adding myself to the maintainers list and minor comment formatting change

* [doc] updating code on the guides/context.md and guides/cookies.md to use v3 code.

* [doc] updating error-handling and request to v3 codebase

* [doc] updating templates documentation
2016-10-25 16:56:12 -07:00
Antonio Pagano
ffdb76efc7 [doc] adding graceful documentation and example. (#688)
* [doc] adding graceful documentation and example.

* adding myself to the maintainers list and minor comment formatting change
2016-10-25 08:09:43 -07:00
Vishal Rana
17c8b8f2ea logger new api, updated recipes
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-23 13:37:04 -07:00
Vishal Rana
b6547dde66 recipe & website in the main repo
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-20 11:30:53 -07:00
Vishal Rana
727b96f46f updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-05 15:58:53 -07:00
Vishal Rana
2507dc13e9 website and recipe in the main repo
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-01 20:49:22 -07:00
Vishal Rana
861712f469 Moved website from echo to echox
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-12 10:35:05 -08:00
Vishal Rana
082814c776 Fixed #387
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-12 05:14:15 -08:00
Vishal Rana
7263e50e10 Fixed #389 2016-03-12 03:54:54 -08:00
Vishal Rana
237070a674 Godoc updated
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-11 08:47:23 -08:00
Simon Green
d4c16f2d0d Fix file ref 2016-03-11 09:22:33 -07:00
Vishal Rana
91e5f755ad Updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-10 22:05:49 -08:00
Vishal Rana
25e72d623e Fixed recover and gzip middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-10 16:35:20 -08:00
Vishal Rana
fbf37ec2f4 Changed standard#WrapMiddleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-09 23:24:45 -08:00
Vishal Rana
f4a5abc8b2 Removed Context#Socket
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-08 08:14:25 -08:00