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
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