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

448 Commits

Author SHA1 Message Date
Vishal Rana
7f92fbf3ce Added MiddlewareFunc to the list of supported middleware, #47.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-10 21:09:28 -07:00
Vishal Rana
b416efc71c Adding NewContext function to facilitate testing
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-08 11:52:06 -07:00
Vishal Rana
04cdefb2a6 Fixed #51
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-08 11:21:50 -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
7d5465e176 Typo in godoc
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-05-05 22:25:19 -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
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
Tim Anema
e11de1df62 small change to allow nested groups 2015-04-26 18:17:46 -04: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
eee38a6376 Fixed #35
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-24 15:13:06 -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
d9185ddf5c More coverage
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-21 22:53:15 -07:00
Vishal Rana
34d100dee9 Improved godoc
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-21 22:28:17 -07:00
Vishal Rana
8d3cd84852 Fixed #12
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-21 22:12:41 -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
948198e624 Improved docs & refactored errors
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-19 22:04:30 -07:00
Vishal Rana
064466bcde Fixed a typo
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-19 19:54:17 -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
566ed78c1e Fixed broken build
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-18 22:00:44 -07:00
Vishal Rana
f134ea3aea Change middleware function signature.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-18 21:46:00 -07:00
Vishal Rana
381fbae1ff Default handler now returns error.
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-18 16:47:48 -07:00
Vishal Rana
ba35efed61 Can set custom binder #18
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-15 10:10:05 -07:00
Vishal Rana
670e21d80e Renderer example
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-10 21:48:26 -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
055200818a Deferred defer
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-08 22:23:47 -07:00
Vishal Rana
12bd049b0d Set RenderFunc option
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-07 17:34:00 -07:00
Vishal Rana
332752efe6 Fixed example/main.go
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-07 13:43:52 -07:00
Vishal Rana
a95d6668f3 #10
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-07 13:02:23 -07:00
Vishal Rana
eed30582ae c.Text > c.String
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-06 07:52:00 -07:00
Vishal Rana
86138ed18e Changed constants
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-05 21:49:55 -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
c2d29f3895 more coverage
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-05 15:30:03 -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
b75aa02cfe Merge branch 'master' of https://github.com/labstack/echo 2015-04-03 15:40:38 -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
Masayoshi Sekimura
bf6b39fae8 doc: fixes a typo 2015-04-03 10:46:37 -07:00
Florin Patan
94356721c8 Introduce the ability to run configurable and TLS enabled servers 2015-04-03 14:24:47 +02:00
Vishal Rana
92e7a6c72c Added errors
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-02 20:18:34 -07:00
Vishal Rana
127486b3eb Fixed broken build
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-04-02 15:15:09 -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
e08b3f78e8 Coverage for handler
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-29 23:35:08 -07:00
Vishal Rana
c29ae7dd7d Added coverage for middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-29 20:44:55 -07:00
Vishal Rana
ff479f2fa0 Changed example to reflect new name
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-03-27 14:35:15 -07:00