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

170 Commits

Author SHA1 Message Date
Vishal Rana
5b019c507e Handling 405 & pre-flight requests
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-10-06 06:48:33 -07:00
Vishal Rana
c0571e37c3 Moving some logic around
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-24 15:15:52 -07:00
Vishal Rana
51a1ef432c Fixed #222
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-24 14:14:01 -07:00
Vishal Rana
926cc42506 Fixed #219
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-21 06:50:32 -07:00
Vishal Rana
2274d47f89 Fixed #218
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-20 21:38:16 -07:00
Vishal Rana
c9a581815a Fixed #210
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-17 08:18:58 -07:00
Vishal Rana
853e650ee2 Fixed #207
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-16 19:37:37 -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
f251eead67 Fixed #184
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-15 08:29:29 -07: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
832fd111d4 Binder interface instead of BinderFunc
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-30 14:43:22 -07:00
axdg
2a935abe1e Options http method fix 2015-07-31 02:29:23 +10:00
Vishal Rana
d077efe91a Fixed #162
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-27 08:43:11 -07:00
Vishal Rana
4dcb57d42a Enhanced method lookup in router
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-24 12:03:36 -07:00
Vishal Rana
fd427bc943 Fixed #151 - panic for invalid HTTP method
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-21 12:46:50 -07:00
Vishal Rana
45a7e7d6f2 Closed #71
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-09 20:06:51 -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
80a4b41e16 Fixed build error
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-03 16:19:03 -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
aab17b9f69 Fixed #77
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-06-01 00:07:53 -07:00
Vishal Rana
6d4864ac4f Fixed router tests
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-30 15:40:38 -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
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
aa5e552282 Fixed #65
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-18 11:33:11 -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
ba05b6e58e Added favicon api
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-13 15:20:09 -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
54d2f72368 Fixed #49
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-04 21:02:53 -07:00
Vishal Rana
fcbdaae620 Fixed /folders/ & /folders/* routes
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-04 13:01:02 -07:00
Vishal Rana
ab1e479ada #46
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-30 18:47:13 -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
b3e9b66e36 Remove print statement
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-28 23:13:23 -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
a956a03841 Improved comment
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-26 15:53:37 -07:00
Vishal Rana
67b1dfea04 Fixed #32
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-26 12:44:38 -07:00
Vishal Rana
0a075ce7c5 Fixed catch all param
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-26 09:48:49 -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
1033df5ac0 Fixed #22
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-24 07:44:30 -07:00
Vishal Rana
90ff3c14b2 clean up
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-13 21:57:36 -07:00
Vishal Rana
abea41de11 fixed conflicting routes #22
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-13 13:12:30 -07:00
Vishal Rana
fefbfeb28c Fixed conflicting routes bug #22, #16
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-12 13:04:41 -07:00
Vishal Rana
724e92fdca router node type removed
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-12 08:05:29 -07:00
Vishal Rana
eca5d87221 fixed broken build
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-11 13:52:40 -07:00
Vishal Rana
9f41bbedec Fixed router
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-11 13:49:45 -07:00
Vishal Rana
4a2bdcab27 Handle not found in router.Find
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-11 11:10:19 -07:00
Vishal Rana
4c8797f09e Priority routes handled ✌️
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-11 10:09:41 -07:00
Vishal Rana
6633a1fca7 New renderer interface #21
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-09 14:59:31 -07:00
Vishal Rana
8f7c55e0ac Refactored response
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-09 11:04:33 -07:00
Vishal Rana
055200818a Deferred defer
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-08 22:23:47 -07:00
Vishal Rana
2342df3e61 Cleanup on router
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-08 14:40:49 -07:00
Vishal Rana
a95d6668f3 #10
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-07 13:02:23 -07:00
Vishal Rana
47fb44deb5 More coverage and cleanup
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-05 20:08:52 -07:00
Vishal Rana
210dd512d0 Fixed #20
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-05 16:44:53 -07:00
Vishal Rana
9d44f49ccc More binding and rendering functions
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-05 14:21:03 -07:00
Vishal Rana
3680eb5391 Cleaner find logic in router
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-04 10:44:48 -07:00
Vishal Rana
d0f44c90ba Minor changes in router
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-03 15:40:36 -07:00
Vishal Rana
644ee47399 Sub router & group API added, fixes #10
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-02 14:41:36 -07:00
Vishal Rana
d8aae6ea43 Changes for sub router #10
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-02 05:02:52 -07:00
Vishal Rana
181d948773 Fixed #9
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-01 08:05:54 -07:00
Vishal Rana
064a69d1dc New name for repo
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-27 14:21:30 -07:00
Vishal Rana
e49e74aeac Flexible handler and middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-25 08:50:24 -07:00
Vishal Rana
99124cda0a Wrap method for using third party middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-21 14:59:09 -07:00
Vishal Rana
4903cba3e3 Removed some unwanted code
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-12 14:03:51 -07:00
Vishal Rana
a268e01746 Added serve index and file methods
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-08 23:58:10 -07:00
Vishal Rana
f8e621248e Now serving static files
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-06 21:55:51 -08:00
Vishal Rana
05e8fee3de Added response already committed logic
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-06 11:12:33 -08:00
Vishal Rana
91bbd38251 Bind and render functions
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-05 20:46:17 -08:00
Vishal Rana
7c9a0b6489 initial commit
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-01 09:45:13 -08:00