1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-22 20:06:21 +02:00
Commit Graph

833 Commits

Author SHA1 Message Date
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
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
40728e26e6 Fixed #419, Fixed #420.
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-18 12:13:37 -07:00
Vishal Rana
da010b035d Merge branch 'mtojek-fix_missing_net_listener' 2016-03-18 08:47:23 -07:00
Vishal Rana
7cf31b3b68 dummy
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-18 08:47:03 -07:00
Vishal Rana
bf239af966 Merge branch 'fix_missing_net_listener' of https://github.com/mtojek/echo into mtojek-fix_missing_net_listener 2016-03-18 08:36:08 -07:00
Vishal Rana
8872f132b2 Merge pull request #418 from rlcomte/master
Improved error handling of multipart requests
2016-03-18 08:22:49 -07:00
rlcomte
cc86fa2232 Improved error handling of multipart requests
standard/request: return the error of the http request multipart parsing
call
test/request: similar functionality as the standard/request
2016-03-18 09:42:10 +01:00
Vishal Rana
3946a1839c New API Echo#GetContext & Echo#PutContext.
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-17 21:49:06 -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
Marcin Tojek
5ed4d06b3a net.Listener moved into config 2016-03-17 18:21:16 +01:00
Marcin Tojek
c674ebf505 Support custom net.Listener #414 2016-03-17 15:21:05 +01:00
Vishal Rana
6f0a7372fb Godoc for engine package
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-16 21:30:24 -07:00
Vishal Rana
3abe661e72 Fixed nested group middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-03-16 20:25:58 -07:00