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
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
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
fd9508ca39
param alias, context#param
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-17 18:42:00 -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
c5a3575d4c
updated migration guide
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-11-14 22:54:09 -08:00
Vishal Rana
7bd314557b
fixed #694
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-27 07:35:41 -07:00
Vishal Rana
a739d9a0d9
- Removed Context#ServeContent
...
- Refactored Context#Attachment, Context#Inline,
Context#ContentTypeByExtension
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-25 14:53:47 -07:00
Vishal Rana
2fbaf3a363
minor refactor, #677
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-25 08:08:46 -07:00
Vishal Rana
51723e4c7c
removed websocket api
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-20 18:25:40 -07:00
Vishal Rana
d72b8b8b64
fixed docs
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-20 09:10:10 -07:00
Vishal Rana
60ce130499
generic map Map
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-13 16:45:27 -07:00
Vishal Rana
8623669cbc
removed Context#P()
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-10 18:22:13 -07:00
Vishal Rana
15eb5b0aad
removed embedded context and exposed SetRequest
in context
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-10-10 17:31:26 -07:00
Vishal Rana
0349e883f5
Moved logger to root
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-25 13:14:18 -07:00
Vishal Rana
7f60fcda63
WebSocket API
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-23 05:55:27 -07:00
Vishal Rana
2aec0353f5
First commit to v3, #665
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-22 22:56:00 -07:00
Vishal Rana
03efe4d61b
Closes #525 , closes #566 , closes #573 ( #653 )
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-09 15:30:46 -07:00
Vishal Rana
00699ed0db
Renamed Context#Context => Context#StdContext & Context#SetContext to ContextSetStdContext, 2d772e02ca
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-09 11:47:43 -07:00
Vishal Rana
2d772e02ca
Updated deps, removed Context#Context()
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-08 14:54:07 -07:00
Francisco Guimarães
8a85626a71
Inline feature ( #637 )
2016-08-22 14:46:21 -07:00
Vishal Rana
85e2816cf3
Minor formatting/changes
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-22 08:30:46 -07:00
Kazuhiro Kubota
48c42e7b90
Fix Context#SetContext()/Context#Context()
2016-08-22 20:42:25 +09:00
Vishal Rana
ad8f0dd012
Closes #626 , #625
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-19 14:07:07 -07:00
Vishal Rana
eb48e7de60
Revert "fixed #604 "
...
This reverts commit 69e8c1e717
.
2016-07-27 09:11:34 -07:00
Vishal Rana
69e8c1e717
fixed #604
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-26 09:58:21 -07:00
Vishal Rana
451b2ccc9f
Exposed error handlers
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-07-05 08:43:46 -07:00
Vishal Rana
a0bc02815f
Fixed #551
2016-06-06 16:56:09 -07:00
Vishal Rana
4e98fa9664
Fixed #500
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-06 09:47:22 -07:00
Vishal Rana
d0ed5830c4
Test coverage for cookie.go and context.go
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-05 22:25:34 -07:00
Vishal Rana
09a2ce60a6
About context #500
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-05 13:47:59 -07:00
Vishal Rana
a98843b6e5
Logger as interface, fixed #533 , fixed #349 , fixed #304
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-31 18:29:11 -07:00
Vishal Rana
702e6d0967
Closes #517 , closes #518
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-22 07:58:21 -07:00
Vishal Rana
682a5580b7
Deprecated Echo#GetContext() => Echo#AcquireContext(), Echo#PutContext() => Echo#ReleaseContext()
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-03 17:23:31 -07:00
Vishal Rana
f0526349ff
Fixed #499
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-02 22:41:07 -07:00
Vishal Rana
190cf80d02
Fixed #432 , Fixed #167 .
...
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-05-02 16:19:35 -07:00
Vishal Rana
be825e0229
Refactored variable names
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-24 10:22:15 -07:00
Anon-Penguin
ea123198e4
Add Exists() method
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-24 08:02:12 -07:00
Vishal Rana
1e04986e53
Var args for Context#SetParamNames and Context#SetParamValues.
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-17 09:41:20 -07:00
Vishal Rana
467cf05b41
Changes based on comments for #430
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-16 15:56:09 -07:00
Vishal Rana
fd104333f2
Fixed #430 , Closes #469
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-16 09:15:37 -07:00
Vishal Rana
609587e6eb
Fixed #463
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-11 16:49:20 -07:00
Vishal Rana
130c548826
Closes #459 , #457 .
...
- Static back as middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-10 20:56:10 -07:00
Vishal Rana
33700bfcc2
Fixed #457
...
- Dropped static middleware in favor of Echo#Static & Echo#StaticConfig.
- Enhanced middleware chaining.
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-09 14:00:23 -07:00
Vishal Rana
8b5772cf65
Proper header and MIME constants
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-06 07:29:47 -07:00
Vishal Rana
bcbd9a0f42
Updated README.md
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-04 20:10:19 -07:00
Vishal Rana
b5d6c05101
Fixed #441 , #294
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-02 14:24:51 -07:00
Vishal Rana
55e3dba946
ReadSeeker instead of Reader to future usage
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-29 16:17:36 -07:00