1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-30 08:46:41 +02:00
Commit Graph

1368 Commits

Author SHA1 Message Date
Vishal Rana
b9eec15c01 More test coverage
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-30 15:20:36 -07:00
Vishal Rana
a9e49e2430 Total coverage for middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-30 10:54:55 -07:00
Vishal Rana
b526a0df5b Better tests for context.go
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-29 17:20:13 -07:00
Vishal Rana
9b6c392829 Better tests for response.go
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-29 16:50:46 -07:00
Vishal Rana
df43772757 Added tests for Group
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-29 16:00:02 -07:00
Vishal Rana
76e9b44190 Exposed DefaultHTTPErrorHandler function
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-28 16:50:49 -07:00
Vishal Rana
7d518ce19d Merge pull request #86 from CaptainCodeman/response-size
Response reset size
2015-05-27 21:57:41 -07:00
Simon Green
87b24d3b7e Response reset size
Set size to 0 when response reset

Prevents logged size accumulating with each request
2015-05-27 21:11:57 -06:00
Vishal Rana
4159cef81e Merge pull request #85 from labstack/static-content
Better implementation for serving static files.
2015-05-27 14:11:17 -07:00
Vishal Rana
ac527ab4da Better implementation for serving static files.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-27 14:07:52 -07:00
Vishal Rana
e119cbc2ea Separated Group from Echo to limit API
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-22 21:24:35 -07:00
Vishal Rana
e0364caf36 Better handling in middleware for WebSocket
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-22 20:26:52 -07:00
Vishal Rana
95f72a5170 Update README.md 2015-05-22 10:27:51 -07:00
Vishal Rana
bf85c56b08 Encapsulated fields and exposed public functions.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-22 04:40:01 -07:00
Vishal Rana
df924ffc11 Initiated HTTP2 support
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-21 23:11:27 -07:00
Vishal Rana
6f728d428d Added test from Echo.WebSocket()
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-21 22:48:34 -07:00
Vishal Rana
2f62f3a599 Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-21 15:24:08 -07:00
Vishal Rana
cfd6d8b77f Better HTTP status in basic auth middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-21 14:02:29 -07:00
Vishal Rana
3fcf7a470d Update index.md 2015-05-21 09:11:41 -07:00
Vishal Rana
631b0c8bb8 Update README.md 2015-05-21 09:11:13 -07:00
Vishal Rana
e6b59fd7a3 Update README.md 2015-05-21 09:10:34 -07:00
Vishal Rana
6878bac597 Updated docs, fixed #78.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-21 08:55:22 -07:00
Vishal Rana
1e117621e9 Merge pull request #76 from labstack/websocket
New definition for Echo.HandlerFunc
2015-05-20 16:39:46 -07:00
Vishal Rana
1ad37ae896 Fixed crud example
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-20 16:09:07 -07:00
Vishal Rana
a4375c4991 Fixed examples with new HandlerFunc changes
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-20 15:59:36 -07:00
Vishal Rana
13ac746093 Refactored Echo.HandlerFunc, added WebSocket support.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-20 14:38:51 -07:00
Vishal Rana
a45181261b Merge pull request #73 from labstack/websocket
Refactored echo configuration functions
2015-05-19 19:02:35 -07:00
Vishal Rana
60a377a7f3 Fixed debug call
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-19 18:59:05 -07:00
Vishal Rana
ac4d019a9a Refactored echo configuration functions
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-19 18:54:31 -07:00
Vishal Rana
1886fc7fd5 Update README.md 2015-05-18 23:34:20 -07:00
Vishal Rana
ef6440051f Merge pull request #70 from labstack/websocket
Wrapped Flush, Hijack and CloseNotify functions in response.
2015-05-18 17:26:48 -07:00
Vishal Rana
cd1e235ccc Wrapped Flush, Hijack and CloseNotify functions in response.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-18 17:23:44 -07:00
Vishal Rana
5df84923dd Merge pull request #69 from labstack/middleware
Docs updated
2015-05-18 13:48:05 -07:00
Vishal Rana
533ff91881 Changed examples, web > website
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-18 13:41:50 -07:00
Vishal Rana
5d636c1eb1 Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-18 13:38:35 -07:00
Vishal Rana
3809c0ed11 Merge pull request #66 from labstack/middleware
Fixed #65
2015-05-18 11:36:12 -07:00
Vishal Rana
aa5e552282 Fixed #65
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-18 11:33:11 -07:00
Vishal Rana
ac908b4813 Merge pull request #64 from labstack/middleware
Added panic recover middleware
2015-05-17 22:58:47 -07:00
Vishal Rana
73fa05f826 Added panic recover middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-17 22:54:29 -07:00
Vishal Rana
561bfc59ad Merge pull request #62 from labstack/middleware
Refactored tests
2015-05-16 13:06:01 -07:00
Vishal Rana
609879bf39 Refactored tests
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-16 12:49:01 -07:00
Vishal Rana
9623abc64b Merge pull request #61 from labstack/middleware
Middleware
2015-05-15 16:07:12 -07:00
Vishal Rana
d90395cf2b Using int64 instead of uint64 for response size
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-15 15:24:47 -07:00
Vishal Rana
1ee3bc23e3 Added gzip middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-15 12:29:14 -07:00
Vishal Rana
d42bd42d87 Merge pull request #60 from labstack/middleware
Middleware
2015-05-14 16:33:04 -07:00
Vishal Rana
4f45cd1517 Middleware with options - 2
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-14 16:29:26 -07:00
Vishal Rana
f5a385b547 Middleware with options
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-14 16:25:49 -07:00
Vishal Rana
a91983797d Closing #57
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-14 08:23:14 -07:00
Vishal Rana
18dcc4bcca Merge pull request #56 from labstack/middleware
Added slash middleware
2015-05-13 23:09:50 -07:00
Vishal Rana
58ed17d35e Update slash.go 2015-05-13 23:09:02 -07:00