1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-24 08:22:21 +02:00
Commit Graph

123 Commits

Author SHA1 Message Date
Vishal Rana
70bf482381 Don't need http.Dir in Context#File'
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-29 15:26:25 -07:00
Vishal Rana
28ec39daaa Context#StaticContent signature changed
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-27 21:03:35 -07:00
Vishal Rana
a2d757eddc Closes #434
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-27 16:29:41 -07:00
Vishal Rana
7741bd0125 Fixed #428
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-23 11:10:22 -05:00
Vishal Rana
a66162a3d2 Logging middleware fixes
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-21 17:27:14 -07:00
Vishal Rana
703174e58f Context#Form() > Context#FormValue(), Context#Query() > Context#QueryParam()
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-21 13:10:20 -07:00
Vishal Rana
c4caeb8ffb more godoc
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-19 15:47:20 -07:00
Vishal Rana
e16b929900 Middleware fix #407
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-16 08:24:25 -07:00
Vishal Rana
030a9a4ad1 #407, just fixed fasthttp response writer
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-15 15:55:46 -07:00
Vishal Rana
b10c93cd17 Fixed #401 & Godoc
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-14 20:03:20 -07:00
Vishal Rana
0465314380 Fixed #400
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-14 12:21:47 -07:00
Vishal Rana
abc669bd07 Fixed #399
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-14 08:18:02 -07:00
Vishal Rana
7942e4a77b Engine#Multipart,#FormFile. Closes #394.
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-12 18:32:36 -08:00
Vishal Rana
ac25928fd0 Closes #393
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-12 11:49:45 -08:00
Vishal Rana
5b5df5bf44 Last-Modified header for static content
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-12 10:18:40 -08:00
Vishal Rana
a7697fe480 Fixed #391
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-12 09:30:05 -08:00
Vishal Rana
082814c776 Fixed #387
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-12 05:14:15 -08:00
Vishal Rana
25e72d623e Fixed recover and gzip middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-10 16:35:20 -08:00
Vishal Rana
8ee864ae08 Dropped Engine**#Object functions
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-10 12:05:33 -08:00
Vishal Rana
296498c942 Fixed nested groups, reset Context#handler
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-08 19:31:11 -08:00
Vishal Rana
f4a5abc8b2 Removed Context#Socket
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-08 08:14:25 -08:00
Vishal Rana
e1d789ecbb Logger as not an interface
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-06 09:52:32 -08:00
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