1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-22 20:06:21 +02:00
Commit Graph

101 Commits

Author SHA1 Message Date
Vishal Rana
bf239af966 Merge branch 'fix_missing_net_listener' of https://github.com/mtojek/echo into mtojek-fix_missing_net_listener 2016-03-18 08:36:08 -07:00
rlcomte
cc86fa2232 Improved error handling of multipart requests
standard/request: return the error of the http request multipart parsing
call
test/request: similar functionality as the standard/request
2016-03-18 09:42:10 +01:00
Vishal Rana
3946a1839c New API Echo#GetContext & Echo#PutContext.
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-17 21:49:06 -07:00
Marcin Tojek
5ed4d06b3a net.Listener moved into config 2016-03-17 18:21:16 +01:00
Marcin Tojek
c674ebf505 Support custom net.Listener #414 2016-03-17 15:21:05 +01:00
Vishal Rana
6f0a7372fb Godoc for engine package
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-16 21:30:24 -07:00
Vishal Rana
9795e59c43 Closes #411
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-16 16:31:24 -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
93963365bf Merge pull request #409 from tossp/tossp-patch-1
reset u.query
2016-03-15 22:40:53 -07:00
Vishal Rana
474c68d5c8 #407, as per @mtojek suggestion.
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-15 16:13:32 -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
TossPig
82bcf4c2b8 reset u.query 2016-03-16 03:12:00 +08:00
Vishal Rana
dfaaff949b Fixed #406
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-15 08:50:43 -07:00
Vishal Rana
e4ab053bc8 More godoc
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-14 23:33:16 -07:00
Vishal Rana
fd8744406f Fixed #402
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-14 22:45:29 -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
b9ac79d9d4 Engine > Standard > Request > ParseMultipartForm
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-13 14:19:22 -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
7263e50e10 Fixed #389 2016-03-12 03:54:54 -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
76cfd2f666 Fixed standard#WrapMiddleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-10 13:29:23 -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
fbf37ec2f4 Changed standard#WrapMiddleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-09 23:24:45 -08:00
Vishal Rana
f730def2c6 Renamed engine constructor
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-08 20:30:35 -08:00
Vishal Rana
86ddfedb45 Fixed null pointer on standard engine
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-08 15:17:40 -08:00
Vishal Rana
79f7be2e21 Refactoring
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-08 11:18:24 -08:00
Vishal Rana
6ed0b57228 Engine standard > http.Server as private field
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-08 08:44:13 -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
4f08fed018 Fixed #378
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-06 23:24:51 -08:00
Vishal Rana
b855b5d507 Middleware wrapper #294
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-06 22:05:53 -08:00
Vishal Rana
6a74849290 Handler wrapper in their respective packages #294
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-06 20:53:23 -08:00
Vishal Rana
569d72cd76 Fixed import cycle
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-06 16:43:47 -08:00
Vishal Rana
af4c525be1 Wrapper for handler in engine
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-06 11:38:52 -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
8916d5558c GAE fix
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-04 20:19:59 -08:00
Vishal Rana
5ada9b5f1b TLS support
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-22 23:00:46 -08:00
Vishal Rana
fb04f9979e Added Request#Scheme function
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-22 21:26:36 -08:00
Vishal Rana
89551ddfd9 Dropped URL#Scheme,URL#Host and added Request#TLS
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-22 21:13:08 -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
979d64941f Object method to Header and URL
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-20 14:04:09 -08:00
Vishal Rana
e91717552f Fixed response header and get handler name
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-17 11:58:03 -08:00
Vishal Rana
d14b8f5ba4 Fixed standard engine request#Host()
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-17 08:24:57 -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
4982169106 Minor fixes to fasthttp
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-02-09 08:12:37 -08:00
Vishal Rana
3cd1d5be65 Fixed sync.Pool
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-08 17:26:00 -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