1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-20 19:52:47 +02:00
Commit Graph

1238 Commits

Author SHA1 Message Date
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
b6deec4897 WrapMiddleware for echo.Handler
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-07 07:55:26 -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
74449ad861 Merge branch 'v2' of https://github.com/labstack/echo into v2 2016-03-06 16:44:26 -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
a00ae2e691 Fixed import cycle
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-06 16:36:30 -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
a9c88cad63 Fixed #310
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-05 20:03:11 -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
d5ba76ed81 Router fix, #217, #371, #372.
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-03 22:06:47 -08:00
Vishal Rana
12e2c74eda Content type for static middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-25 11:44:41 -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
e1a7549855 Removed Middleware#Priority
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-20 16:20:10 -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
c8725ae244 Context#Redirect
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-20 12:54:43 -08:00
Vishal Rana
4f6fd9725d Fixed default options for static
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-20 12:22:09 -08:00
Vishal Rana
b97a2c5ad6 Fixed group middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-20 08:11:02 -08:00
Vishal Rana
19d51dad4c Static as middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-18 22:50:40 -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
c0873843ad Option to options
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-18 07:00:51 -08:00
Vishal Rana
88f307bedd Middleware and handler as closure
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-17 21:49:31 -08:00
Vishal Rana
c9a62e20b4 Middleware as structs
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-17 21:18:46 -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
caf3bd31eb - Handler and middleware signature changed
- Pre chain middleware

Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-15 19:32:16 -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
4f57582b06 Update README.md 2016-02-09 13:39:47 -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
92307b9a1f Update README.md 2016-02-09 11:46:08 -08:00
Vishal Rana
bf97da9a16 Exclude fasthttp in appengine
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-02-09 11:43:00 -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
7b843e66c5 Wrappers for handler and middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-08 22:17:20 -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
3f48b92c5d RunWithConfig to RunConfig
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-08 11:09:34 -08:00
Vishal Rana
65fcca2ce3 Middleware interface
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-02-07 23:02:37 -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
443a0bb48d Merge pull request #350 from o1egl/binder_http_error_v2
Change context.Bind() return type to HTTPError. #344
2016-01-30 22:36:38 -08:00