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

1312 Commits

Author SHA1 Message Date
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
Oleg Lobanov
981e3adc1c Change context.Bind() return type to HTTPError. #344 2016-01-31 02:13:56 +04:00
Vishal Rana
4f577981b3 Dropped Go 1.4
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-01-29 09:16:05 -08:00
Vishal Rana
57399453be Left over
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-01-28 23:56:09 -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
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
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
5cd194b6b0 Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-12-03 14:14:14 -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
f448379651 Fixed a doc
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-12-01 15:22:04 -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
754c84596e Prevent caching for dynamic directory
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-24 07:38:28 -08:00
Vishal Rana
521cf5338e Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-23 22:15:59 -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
2ad06ce67e Fixed #265
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-22 09:26:11 -08:00
Vishal Rana
4f996419e1 Fixed #255
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-20 19:39:35 -08:00
Vishal Rana
c578a662a0 Closes #261
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-19 07:40:24 -08:00
Vishal Rana
d5373e1402 Closes #221
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-16 20:53:59 -08:00
Vishal Rana
f09efac326 Revert #257
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-16 07:57:40 -08:00
Vishal Rana
0163cddab5 Putting Echo#Server back
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-15 13:32:21 -08:00
Vishal Rana
cba2724de3 Set echo as handler for Echo#RunServer*
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-11-15 12:08:12 -08:00