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
|
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 |
|
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
|
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
|
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
|
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
|
e37b54e73f
|
Removed a print statement
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-04-06 11:07:56 -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
|
2dc1d53da5
|
Fixed #446
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-04-04 22:49:14 -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
|
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
|
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
|
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
|
910315ec5f
|
Updated godoc
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-22 22:56:29 -05: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
|
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 |
|
Vishal Rana
|
abf389f91a
|
#410, actually timestamp.
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-18 20:29:53 -07:00 |
|
Vishal Rana
|
4d30b193ad
|
#410, actually timestamp.
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-18 20:02:02 -07:00 |
|
Vishal Rana
|
e159f4d7ef
|
Making Echo#Pre actually work.
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-17 13:24:52 -07:00 |
|
Vishal Rana
|
00bf0d651f
|
Enhanced recover middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-14 16:14:33 -07:00 |
|
Vishal Rana
|
5b5df5bf44
|
Last-Modified header for static content
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-12 10:18:40 -08:00 |
|
Vishal Rana
|
082814c776
|
Fixed #387
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-12 05:14:15 -08:00 |
|
Vishal Rana
|
7263e50e10
|
Fixed #389
|
2016-03-12 03:54:54 -08:00 |
|
Vishal Rana
|
09f3d3061f
|
Closes #314
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-11 07:53:54 -08:00 |
|
Vishal Rana
|
25e72d623e
|
Fixed recover and gzip middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-10 16:35:20 -08:00 |
|
Vishal Rana
|
8ee864ae08
|
Dropped Engine**#Object functions
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-10 12:05:33 -08:00 |
|
Vishal Rana
|
34e964851f
|
Closes #283
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-08 19:40:25 -08:00 |
|
Vishal Rana
|
296498c942
|
Fixed nested groups, reset Context#handler
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-08 19:31:11 -08:00 |
|
Vishal Rana
|
569d72cd76
|
Fixed import cycle
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-06 16:43:47 -08:00 |
|
Vishal Rana
|
e1d789ecbb
|
Logger as not an interface
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-06 09:52:32 -08:00 |
|
Vishal Rana
|
12e2c74eda
|
Content type for static middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-02-25 11:44:41 -08:00 |
|
Vishal Rana
|
4f6fd9725d
|
Fixed default options for static
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-02-20 12:22:09 -08:00 |
|
Vishal Rana
|
19d51dad4c
|
Static as middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-02-18 22:50:40 -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 |
|