1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-30 08:46:41 +02:00
Commit Graph

101 Commits

Author SHA1 Message Date
Vishal Rana
a9c88cad63 Fixed #310
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-05 20:03:11 -08:00
Vishal Rana
c19442d023 Sync pool for fasthttp
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-21 19:58:19 -08:00
Vishal Rana
c8725ae244 Context#Redirect
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-20 12:54:43 -08:00
Vishal Rana
91ae93ebfc Removed HTTP2 option
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-18 14:04:28 -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
94e5936287 Fixed test cases
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-02-09 19:07:04 -08:00
Vishal Rana
8444488a2b Fixed package dependencies
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-02-09 13:37:38 -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
f27de9a804 Fixed logging
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-04 19:29:49 -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
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
33d8813eb5 Revert "Revert "Fixed Request.Out""
This reverts commit 72050d765b.
2015-12-21 15:20:49 -08:00
Vishal Rana
72050d765b Revert "Fixed Request.Out"
This reverts commit cced590a16.
2015-12-21 15:18:53 -08:00
Vishal Rana
cced590a16 Fixed Request.Out
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2015-12-21 15:18:03 -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
2483d2a140 Reset Echo in Response#reset()
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-12-02 08:07:22 -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
f54cdd86d0 Removed prinftf from Context#String and Context#HTML, #154
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-24 20:08:36 -08:00
Vishal Rana
d932e2a863 Added directory autoindex
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-23 22:12:56 -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
13340e2b0f Fixed #259
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-13 07:59:13 -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
Vishal Rana
46a9318172 Fixed typo in godoc
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-07 20:06:58 -08: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
2cca641ffb Fixed #237
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-16 07:51:42 -07: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
5b019c507e Handling 405 & pre-flight requests
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-06 06:48:33 -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
031c14f0f7 Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-08-04 19:45:44 -07:00
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