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

205 Commits

Author SHA1 Message Date
Vishal Rana
c935874aa8 Fixed #797
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-04 11:39:28 -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
imeoer
04ed761d41 Change 'Context-Type' to 'Content-Type' in guide document (#788) 2016-12-25 23:23:05 -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
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
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
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
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
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
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
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
Vishal Rana
a96c564fc3 updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-08 22:41:52 -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
Vishal Rana
f720ea1bc8 updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-31 22:13:44 -07:00
Vishal Rana
8b8aac8aef fixed #696
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-27 21:40:27 -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