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

143 Commits

Author SHA1 Message Date
Vishal Rana
51a1ef432c Fixed #222
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-24 14:14:01 -07:00
Vishal Rana
eef1574969 go fmt ./...
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-15 13:20:59 -07:00
Vishal Rana
3bd10bd651 Refactored debug mode api
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-13 10:34:15 -07:00
Carlos Alexandro Becker
357469beaa updated docs about debug mode
it was changed for some reason, fixed docs.
2015-09-02 09:34:07 -03:00
Vishal Rana
507c69ec80 StripTrailingSlash is now an option
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-01 08:03:01 -07:00
Vishal Rana
468a3eb9b3 Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-08-28 10:37:14 -07:00
Vishal Rana
dfa3569fde Fixed doc
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-08-27 06:51:33 -07:00
Hung Nguyen Viet
7f1a98ba9c fix grammar, spelling, highlight 2015-08-27 15:40:36 +07:00
Vishal Rana
1daa16d6fb Added attachment as option in Context.File function
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-08-24 22:01:25 -07:00
Vishal Rana
031c14f0f7 Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-08-04 19:45:44 -07:00
Vishal Rana
832fd111d4 Binder interface instead of BinderFunc
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-30 14:43:22 -07:00
Vishal Rana
b4da73313f Removed RedirectToSlash middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-28 15:26:17 -07:00
Vishal Rana
1ae7ef40e0 Don't send http error if response already committed.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-24 18:54:42 -07:00
Vishal Rana
6da918876f Closes #143
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-19 10:32:30 -07:00
Vishal Rana
cd111b826c Added API to enable/disable colored log.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-17 23:00:19 -07:00
Vishal Rana
e550355a5f Update docs with new API
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-16 23:03:45 -07:00
Chase Hutchins
959f4bd1ab Updated websocket recipe
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-12 21:49:21 -07:00
Nicolas Pouvesle
1757d1f8c7 Added XML encoding/decoding API.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-11 16:01:11 -07:00
Vishal Rana
62bc8575ce Added JWT recipe
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-08 22:29:53 -07:00
Vishal Rana
8f489d47f3 Added new APIs
Context.Query - Read query param
Context.Form - Read form param

Fixed #124

Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-05 11:08:17 -07:00
Vishal Rana
a3e74772e7 Closes #122, Closes #97
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-03 11:51:28 -07:00
Vishal Rana
d70ad0a6c7 Update docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-02 23:21:21 -07:00
Vishal Rana
10c44a6f8c Updated recipe for WebSocket
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-02 22:57:09 -07:00
axdg
4686f882d6 Updated recipes examples and docs.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-02 13:50:07 -07:00
Vishal Rana
99aa92eb06 Added subdomains recipe closes #121
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-01 22:44:09 -07:00
Vishal Rana
992f5ef005 Updated docs and recipes
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-30 22:59:26 -07:00
Vishal Rana
1220ca38f2 Add recipes section in docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-30 11:51:08 -07:00
Merten van Gerven
07c0cf21f0 New API Echo.Server
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-27 21:47:46 -07:00
Vishal Rana
db109cf4ec Added performance graph
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-22 14:41:16 -07:00
Vishal Rana
3ec917f633 Added performance graph
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-22 14:25:39 -07:00
Vishal Rana
d04651dc2a Fixed #100
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-19 15:37:26 -07:00
Vishal Rana
9c7053cb7c Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-18 14:40:48 -07:00
Vishal Rana
0d6e5f934e New url for the website
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-14 17:15:45 -07:00
Vishal Rana
1ac5425ec4 Fixed #95
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-09 09:16:52 -07:00
Vishal Rana
0edb31b3bd Updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-07 19:57:49 -07:00
Vishal Rana
33886c8758 Improved router performance
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-05 15:08:32 -07:00
Vishal Rana
e7c1d5d9fb Not need of Echo.SetMaxParam
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-03 15:18:27 -07:00
Vishal Rana
4a27e36a73 Updated README
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-03 09:20:32 -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
3fcf7a470d Update index.md 2015-05-21 09:11:41 -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
ac4d019a9a Refactored echo configuration functions
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-19 18:54:31 -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
9623abc64b Merge pull request #61 from labstack/middleware
Middleware
2015-05-15 16:07:12 -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
a91983797d Closing #57
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-14 08:23:14 -07:00
Vishal Rana
54cad1ff14 Added slash middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-13 23:07:03 -07:00
Vishal Rana
8abd4faf08 Updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-13 15:49:09 -07:00
Vishal Rana
6cbabac296 Refactored middleware and handlers
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-11 20:41:28 -07:00
Vishal Rana
3b87f90bfd Added MiddlewareFunc to the list of supported middleware, #47.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-10 21:13:14 -07:00
Vishal Rana
8bdbf0ae0f Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-10 19:24:35 -07:00
Vishal Rana
1b757d99d8 Changed default port in examples
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-10 08:33:44 -07:00
Vishal Rana
c58ec742a9 Enhanced router priority
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-09 22:06:13 -07:00
Vishal Rana
08e23c1e55 Updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-06 18:49:40 -07:00
matrika
5705da16f5 Update guide.md 2015-05-06 18:47:26 -07:00
matrika
8db65a9714 Update guide.md 2015-05-06 18:42:45 -07:00
Vishal Rana
df8bd3be10 Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-06 16:11:21 -07:00
Vishal Rana
6f72add44a Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-06 15:51:52 -07:00
Vishal Rana
4226a3ab2e HTTPError default message
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-06 10:27:01 -07:00
Vishal Rana
bd0c177d5e Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-05 22:06:02 -07:00
Vishal Rana
f80fff4efb issue #50
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-05 21:55:49 -07:00
Vishal Rana
ace1453931 Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-04 14:00:07 -07:00
Vishal Rana
b82ca5cc77 Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-29 13:54:47 -07:00
Vishal Rana
2330dd27a7 Minor changes
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-29 11:30:45 -07:00
Vishal Rana
02ca5e4443 Fixed #44
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-28 23:09:30 -07:00
Vishal Rana
6a1ba5883c More documentation
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-28 18:53:57 -07:00
Vishal Rana
dd9bc2de9c Added echo.HandlerFunc to handlers
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-26 22:41:41 -07:00
Vishal Rana
2b87e75870 Fixed #38, #30
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-25 22:32:20 -07:00
Vishal Rana
1a124f8aab Updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-25 16:10:28 -07:00
Vishal Rana
3327f3453b Updated website
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-25 12:46:27 -07:00
Vishal Rana
eee38a6376 Fixed #35
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-24 15:13:06 -07:00
Vishal Rana
bb206605da Docs updated
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-24 14:02:14 -07:00
Vishal Rana
6abe709490 Moved middleware in a package
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-20 23:24:34 -07:00
Vishal Rana
2e5d09d225 Putting func(http.Handler) http.Handler middleware back
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-20 23:17:21 -07:00
Vishal Rana
f00e11010b Docs updated
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-20 21:45:43 -07:00
Vishal Rana
28a0069864 Docs updated
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-20 15:36:54 -07:00
Vishal Rana
b951910c4a Docs updated
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-20 13:38:30 -07:00
Vishal Rana
1ab3ebbd1f Docs updated
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-19 22:49:01 -07:00
Vishal Rana
ae2225f3c6 Docs updated
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-19 22:47:58 -07:00
Vishal Rana
3b0254ec67 Docs updated
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-19 22:32:46 -07:00
Vishal Rana
c1d2f78211 Docs updated
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-19 22:25:53 -07:00
Vishal Rana
948198e624 Improved docs & refactored errors
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-19 22:04:30 -07:00
Vishal Rana
91582c0103 Fixed broken build
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-19 16:07:39 -07:00
Vishal Rana
467ac2ce9b Fixed broken build
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-19 16:04:31 -07:00
Vishal Rana
3eeea660fa Dropped support for func(http.Handler) http.Handler middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-19 16:00:23 -07:00
Vishal Rana
54824fc22f Added gulp to website
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-18 22:27:30 -07:00
Vishal Rana
566ed78c1e Fixed broken build
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-18 22:00:44 -07:00
Vishal Rana
141b4302ae Created a website #29
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-18 21:53:38 -07:00