Vishal Rana
2918b44698
Merge pull request #478 from roth1002/master
...
Fixed typo in README.md since echo.Context has no field or method For…
2016-04-20 07:06:59 -07:00
RothGo
78fe386e40
Fixed typo in README.md since echo.Context has no field or method FormParam
2016-04-20 16:30:04 +08:00
Vishal Rana
1d47a6cd30
Merge pull request #475 from Anon-Penguin/patch-1
...
Fix infinite recursion
2016-04-19 12:08:01 -07:00
Anon-Penguin
ac2f2016d3
Fix infinite recursion
...
It was quite a suprise when Echo ate a gigabyte of my RAM with a one line request handler 😏
2016-04-19 14:05:05 -05:00
Vishal Rana
1c2d6341ba
Fixed #474
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-18 16:59:58 -07:00
Vishal Rana
1e04986e53
Var args for Context#SetParamNames and Context#SetParamValues.
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-17 09:41:20 -07:00
Vishal Rana
ce80fc8ea4
Fixed middleware test cases
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-16 16:02:22 -07:00
Vishal Rana
467cf05b41
Changes based on comments for #430
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-16 15:56:09 -07:00
Vishal Rana
fd104333f2
Fixed #430 , Closes #469
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-16 09:15:37 -07:00
Vishal Rana
288164d00a
Server header constant
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-14 12:26:54 -07:00
Vishal Rana
11eafe9b90
Fixed slash middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-13 13:48:33 -07:00
Vishal Rana
909f6dacf3
Update docs
...
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
2016-04-13 13:28:13 -07:00
Vishal Rana
b9aa2181b0
Trailing slash middleware with option to redirect
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-12 22:39:29 -07:00
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