Vishal Rana
24a19223b0
Added method override middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-27 21:08:30 -07:00
Vishal Rana
7f819e4d71
Merge branch 'method' of https://github.com/coderhaoxin/echo into coderhaoxin-method
2016-04-27 19:14:24 -07:00
Vishal Rana
fb8690d42b
Fixed #488
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-26 02:10:57 -07:00
Vishal Rana
13648d06f3
Updated README.md with JWT middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-25 13:41:44 -07:00
Vishal Rana
02676bdb44
Added JWT middleware
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-25 10:58:11 -07:00
Vishal Rana
be825e0229
Refactored variable names
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-24 10:22:15 -07:00
Vishal Rana
61fabee05e
Merge pull request #482 from zjx20/patch-1
...
Atomically write logs in the Logger middleware
2016-04-24 08:14:40 -07:00
Anon-Penguin
ea123198e4
Add Exists() method
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-24 08:02:12 -07:00
haoxin
592790bb43
middleware: add method override
2016-04-24 21:07:55 +08:00
zjx20
496ea19a80
Atomically write logs in the Logger middleware
2016-04-22 19:05:49 +08:00
Vishal Rana
c830734fd5
Fixed static middleware serving index.html
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-21 22:25:51 -07:00
Vishal Rana
1247552c9b
Fixed https://github.com/labstack/echox/issues/9
...
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-04-20 07:32:51 -07:00
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