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
Vishal Rana
3d656d1808
Default log level to error
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-21 08:43:28 -07:00
Vishal Rana
b47abdb9ec
Fixed #424 , #427
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-20 08:14:55 -07:00
Vishal Rana
576dfeb71d
Close gzip writer
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-19 16:17:43 -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
d01e856db6
Closes #423
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-19 08:38:35 -07:00
Vishal Rana
830b4eff3f
Some work on logger middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-18 22:25:11 -07:00
Vishal Rana
4a86175a32
Logger format
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-18 20:40:41 -07:00