Vishal Rana
c8725ae244
Context#Redirect
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-20 12:54:43 -08:00
Vishal Rana
51acf465fe
- Moved static file serving to a new handler package
...
- Middleware at route level
- Group middleware is a in closure now
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-15 08:11:29 -08:00
Vishal Rana
6bb871fe3a
Dropped json and xml indent, added jsonblob.
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-10 16:51:43 -08:00
Vishal Rana
0731959a98
Object method to get real object
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-08 16:48:03 -08:00
Vishal Rana
f405794a7c
Now using sync.Pool
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-04 14:40:08 -08:00
Oleg Lobanov
981e3adc1c
Change context.Bind() return type to HTTPError. #344
2016-01-31 02:13:56 +04:00
Vishal Rana
688293b5ed
v2 is compiling now
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-01-28 23:46:11 -08:00
Vishal Rana
dbd1e8e230
Separated recipes from the main repo
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-01-09 11:00:13 -08:00
Vishal Rana
0884290766
Added X() method to return context
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-12-04 08:13:26 -08:00
Vishal Rana
72459fe299
Step towards v2
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-12-03 17:23:53 -08:00
Vishal Rana
9650c39055
Bumped to v1.3
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-12-01 15:06:18 -08:00
Vishal Rana
9d11990cbb
Closes #104
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-22 10:38:02 -08:00
Vishal Rana
56954bc0b6
Closes #235 , Closes #203
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-12 20:23:14 -08:00
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