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

654 Commits

Author SHA1 Message Date
Vishal Rana
6c27cffc66 Updated readme
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-12 14:07:15 -07:00
Vishal Rana
94a16d25a3 Fixed #461
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-11 23:21:32 -07:00
Vishal Rana
609587e6eb Fixed #463
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-11 16:49:20 -07:00
Victor Gaydov
f8117ac7b3 Properly disable colors in Logger middleware
Fix bug when colours are enabled if non-os.File writer is used as
output io.Writer.
2016-04-11 13:46:59 -07:00
Vishal Rana
01ac846770 Updated godoc
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-10 21:41:24 -07:00
Vishal Rana
130c548826 Closes #459, #457.
- Static back as middleware

Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-10 20:56:10 -07:00
Vishal Rana
2f8639b7e6 Just some variable changes
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-09 16:09:50 -07:00
Vishal Rana
33700bfcc2 Fixed #457
- Dropped static middleware in favor of Echo#Static & Echo#StaticConfig.
- Enhanced middleware chaining.

Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-09 14:00:23 -07:00
Vishal Rana
7905fbd667 Fixed #458
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-08 15:00:45 -07:00
Vishal Rana
c1177e54f2 Fixed #458
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-08 14:47:56 -07:00
Vishal Rana
1a7bc677da API changes from to with
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-07 21:20:50 -07:00
Vishal Rana
a8cf473ee7 Updated README.md with CORS middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-07 16:58:56 -07:00
Vishal Rana
a3352d880c Fixed #454, Fixed #274
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-07 16:16:58 -07:00
Vishal Rana
0172fe675b Updated README.md with built-in middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-06 20:10:25 -07:00
Vishal Rana
e37b54e73f Removed a print statement
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-06 11:07:56 -07:00
Vishal Rana
51fa915037 Fixed #455 2016-04-06 08:21:31 -07:00
Vishal Rana
8b5772cf65 Proper header and MIME constants
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-06 07:29:47 -07:00
Vishal Rana
adad28012c Default bool config as false for middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-05 18:57:57 -07:00
Vishal Rana
28fb57585b Fixed godoc example
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-05 15:51:15 -07:00
Vishal Rana
3abab4895f Update README.md 2016-04-05 13:09:42 -07:00
Vishal Rana
ccdf76c2c2 Merge pull request #452 from andreas-bergstrom/patch-1
Correct hello world example
2016-04-05 06:44:00 -07:00
Andreas Bergström
059c5458e5 Correct hello world example
The hello world example won't really run the server, shouldn't it be like this? Also the instruction below don't mention the /hello route so I removed it to simplify.
2016-04-05 20:41:06 +07:00
Vishal Rana
3fec523181 Merge pull request #450 from zlokomatic/patch-1
Fixed typo
2016-04-05 06:34:30 -07:00
zloKOMAtic
9ab08d7daf Fixed type 2016-04-05 12:39:25 +02:00
Vishal Rana
2dc1d53da5 Fixed #446
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-04 22:49:14 -07:00
Vishal Rana
bcbd9a0f42 Updated README.md
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-04 20:10:19 -07:00
Vishal Rana
b5d6c05101 Fixed #441, #294
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-02 14:24:51 -07:00
Vishal Rana
be5148ae27 Gzip fix #437
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-01 15:44:09 -07:00
Vishal Rana
26dc90edfd Temp fix
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-01 13:39:25 -07:00
Vishal Rana
cfb60bebd3 Fixed #437
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-01 08:51:18 -07:00
Vishal Rana
1113413441 Defaults for middleware config
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-31 16:30:19 -07:00
Vishal Rana
1b3197a149 Middleware to add and remove trailing slash
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-31 12:38:48 -07:00
Vishal Rana
ba46c48cba Enhanced static middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-31 08:41:02 -07:00
Vishal Rana
a7d1a8e0d1 Refactored some code
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-30 14:47:04 -07:00
Vishal Rana
55e3dba946 ReadSeeker instead of Reader to future usage
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-29 16:17:36 -07:00
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
dcfb69559d Update README.md 2016-03-29 14:05:10 -07:00
Vishal Rana
d4928af2a4 Added fasthttp header add function
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-29 07:22:46 -07:00
Vishal Rana
f53eae10b3 Fixed #435
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-28 06:57:31 -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
d3e33ec4dd Closes #433
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-27 15:21:56 -07:00
Vishal Rana
16c6f478b1 Updated README.md
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-27 10:25:31 -07:00
Vishal Rana
3a67c062de Updated godoc
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-23 23:05:01 -05:00
Vishal Rana
840e19dec1 Fixed logger assignment in engine > standard > request.
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-23 11:15:24 -05:00
Vishal Rana
7741bd0125 Fixed #428
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-23 11:10:22 -05:00
Vishal Rana
910315ec5f Updated godoc
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-22 22:56:29 -05:00
Vishal Rana
f091ccc9fc Update README.md 2016-03-21 19:57:26 -07: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