Vishal Rana
6fdd292a1f
Closed #170
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-31 19:25:03 -07:00
Vishal Rana
832fd111d4
Binder interface instead of BinderFunc
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-30 14:43:22 -07:00
Vishal Rana
d077efe91a
Fixed #162
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-27 08:43:11 -07:00
Vishal Rana
1ae7ef40e0
Don't send http error if response already committed.
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-24 18:54:42 -07:00
Will Fitzgerald
9257875cb7
Added JSONP API in Context
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-24 16:23:35 -07:00
axdg
523ac4a9a0
Handle invalid status code in Context.Redirect
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-24 15:09:41 -07:00
Vishal Rana
99f2868bcc
Refactored contants for media types
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-22 04:44:29 -07:00
Vishal Rana
17c83a01a4
Fixed #149
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-20 19:24:33 -07:00
Vishal Rana
e550355a5f
Update docs with new API
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-16 23:03:45 -07:00
Chris Seto
22ad37bace
Context.Redirect now returns an error
...
Context.Redirect will now return nil allowing users to do:
return context.Redirect(...)
rather that having to return nil everytime Redirect is used, ie:
context.Redirect(...)
return nil
2015-07-14 21:35:28 -04:00
Vishal Rana
6d733d3120
Fixed #1 - Reset context
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-14 10:56:23 -07:00
Vishal Rana
6430299ca0
Fixed #135
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-13 23:36:56 -07:00
Nicolas Pouvesle
1757d1f8c7
Added XML encoding/decoding API.
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-11 16:01:11 -07:00
Vishal Rana
62bc8575ce
Added JWT recipe
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-08 22:29:53 -07:00
Vishal Rana
ba42c8f32c
Clear echo.Response
if there is error while rendering.
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-07 17:34:59 -07:00
Vishal Rana
8f489d47f3
Added new APIs
...
Context.Query - Read query param
Context.Form - Read form param
Fixed #124
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-05 11:08:17 -07:00
Vishal Rana
1220ca38f2
Add recipes section in docs
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-30 11:51:08 -07:00
Vishal Rana
e13719cf16
Index out of bound error #103
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-20 18:56:51 -07:00
Vishal Rana
33886c8758
Improved router performance
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-05 15:08:32 -07:00
Vishal Rana
e7c1d5d9fb
Not need of Echo.SetMaxParam
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-03 15:18:27 -07:00
Vishal Rana
a9e49e2430
Total coverage for middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-30 10:54:55 -07:00
Vishal Rana
b526a0df5b
Better tests for context.go
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-29 17:20:13 -07:00
Vishal Rana
76e9b44190
Exposed DefaultHTTPErrorHandler function
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-28 16:50:49 -07:00
Vishal Rana
bf85c56b08
Encapsulated fields and exposed public functions.
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-22 04:40:01 -07:00
Vishal Rana
cfd6d8b77f
Better HTTP status in basic auth middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-21 14:02:29 -07:00
Vishal Rana
13ac746093
Refactored Echo.HandlerFunc, added WebSocket support.
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-20 14:38:51 -07:00
Vishal Rana
73fa05f826
Added panic recover middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-17 22:54:29 -07:00
Vishal Rana
1ee3bc23e3
Added gzip middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-15 12:29:14 -07:00
Vishal Rana
8ace8e2143
Refactored media types and headers
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-10 22:34:31 -07:00
Vishal Rana
b416efc71c
Adding NewContext function to facilitate testing
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-08 11:52:06 -07:00
Vishal Rana
04cdefb2a6
Fixed #51
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-08 11:21:50 -07:00
Vishal Rana
f80fff4efb
issue #50
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-05 21:55:49 -07:00
Vishal Rana
02ca5e4443
Fixed #44
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-28 23:09:30 -07:00
Vishal Rana
6a1ba5883c
More documentation
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-28 18:53:57 -07:00
Vishal Rana
0a075ce7c5
Fixed catch all param
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-26 09:48:49 -07:00
Vishal Rana
2b87e75870
Fixed #38 , #30
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-25 22:32:20 -07:00
Vishal Rana
eee38a6376
Fixed #35
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-24 15:13:06 -07:00
Vishal Rana
948198e624
Improved docs & refactored errors
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-19 22:04:30 -07:00
Vishal Rana
3eeea660fa
Dropped support for func(http.Handler) http.Handler middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-19 16:00:23 -07:00
Vishal Rana
381fbae1ff
Default handler now returns error.
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-18 16:47:48 -07:00
Vishal Rana
ba35efed61
Can set custom binder #18
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-15 10:10:05 -07:00
Vishal Rana
670e21d80e
Renderer example
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-10 21:48:26 -07:00
Vishal Rana
6633a1fca7
New renderer interface #21
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-09 14:59:31 -07:00
Vishal Rana
8f7c55e0ac
Refactored response
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-09 11:04:33 -07:00
Vishal Rana
a95d6668f3
#10
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-07 13:02:23 -07:00
Vishal Rana
cff9ce5ae6
api changes in context
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-06 08:09:38 -07:00
Vishal Rana
eed30582ae
c.Text > c.String
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-06 07:52:00 -07:00
Vishal Rana
47fb44deb5
More coverage and cleanup
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-05 20:08:52 -07:00
Vishal Rana
c2d29f3895
more coverage
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-05 15:30:03 -07:00
Vishal Rana
9d44f49ccc
More binding and rendering functions
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-05 14:21:03 -07:00
Vishal Rana
d0f44c90ba
Minor changes in router
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-03 15:40:36 -07:00
Vishal Rana
92e7a6c72c
Added errors
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-02 20:18:34 -07:00
Vishal Rana
d8aae6ea43
Changes for sub router #10
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-02 05:02:52 -07:00
Vishal Rana
8b800e12a2
Improved test cases
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-30 07:38:53 -07:00
Vishal Rana
e08b3f78e8
Coverage for handler
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-29 23:35:08 -07:00
Vishal Rana
064a69d1dc
New name for repo
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-27 14:21:30 -07:00
Vishal Rana
827177a814
Cleanup
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-27 08:47:58 -07:00
Vishal Rana
690af22072
Fixed build error
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-25 10:03:26 -07:00
Vishal Rana
e49e74aeac
Flexible handler and middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-25 08:50:24 -07:00
Vishal Rana
1aad369f59
Wrote some godoc
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-14 17:20:21 -07:00
Vishal Rana
753215ad03
Wrote some godoc
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-14 16:26:44 -07:00
Vishal Rana
40330ae7c0
Middleware example
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-12 20:50:33 -07:00
Vishal Rana
a268e01746
Added serve index and file methods
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-08 23:58:10 -07:00
Vishal Rana
05e8fee3de
Added response already committed logic
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-06 11:12:33 -08:00
Vishal Rana
91bbd38251
Bind and render functions
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-05 20:46:17 -08:00
Vishal Rana
9f6f4e8afb
Remove socket supoort
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-02 10:19:30 -08:00
Vishal Rana
7c9a0b6489
initial commit
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-01 09:45:13 -08:00