1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-28 08:38:39 +02:00
Commit Graph

42 Commits

Author SHA1 Message Date
Marcin Tojek
52daa9ddc9 Increased coverage 2015-11-08 00:59:08 +01:00
Marcin Tojek
31b657e1d2 JSONIndent, XMLIndent, changes after review 2015-11-08 00:39:09 +01:00
Marcin Tojek
1bfd7762ca JSON Pretty Print 2015-11-01 19:48:55 +01:00
Vishal Rana
850bc503b0 Context.File signature changed
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-13 07:09:53 -07:00
Vishal Rana
5f01299246 Context.File now accepts name of attachment
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-11 11:43:27 -07:00
Vishal Rana
5a71f202f5 Updated docs, fixed #225.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-02 11:24:59 -07:00
Vishal Rana
1daa16d6fb Added attachment as option in Context.File function
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-08-24 22:01:25 -07:00
Vishal Rana
6fdd292a1f Closed #170
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-31 19:25:03 -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
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
15ce60e346 Fixed #141
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-16 08:05:16 -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
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
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
b9eec15c01 More test coverage
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-30 15:20:36 -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
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
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
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
2b87e75870 Fixed #38, #30
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-25 22:32:20 -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
86138ed18e Changed constants
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-05 21:49:55 -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
5c60db4c27 fixed broken build
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-02 20:22:16 -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
e8d7d88c4e Coverage bumped to 80%
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-30 20:54:38 -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
99124cda0a Wrap method for using third party middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-21 14:59:09 -07:00