1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-18 16:20:53 +02:00
Commit Graph

726 Commits

Author SHA1 Message Date
Tyler Bunnell
1d040969ad Merge branch 'master' of https://github.com/labstack/echo 2015-09-11 16:24:26 -06:00
Tyler Bunnell
4f3335aac7 Add sync.Pool to gzip middleware 2015-09-11 16:23:57 -06:00
Vishal Rana
dce83db344 Merge pull request #194 from caarlos0/debug-docs
updated docs about debug mode
2015-09-02 10:29:12 -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
9db442492a Moved auth header outside of the block
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-01 12:09:08 -07:00
Vishal Rana
e0a40f864c Merge pull request #192 from labstack/issue-180
Closes #180
2015-09-01 11:32:12 -07:00
Vishal Rana
8aaf620c2d Closes #180
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-09-01 11:24:36 -07:00
Vishal Rana
e7b1358de5 Merge pull request #191 from labstack/issue-190
StripTrailingSlash is now an option
2015-09-01 08:08:21 -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
9b36defadf Updated .gitignore
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-08-29 11:26:06 -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
Vishal Rana
e8d2729fdf Merge pull request #188 from hvnsweeting/master
fix grammar, spelling, highlight
2015-08-27 06:28:04 -07:00
Hung Nguyen Viet
7f1a98ba9c fix grammar, spelling, highlight 2015-08-27 15:40:36 +07:00
Vishal Rana
2b52bc4ea0 Merge pull request #186 from labstack/issue-182
Added new functions: Echo.Any & Echo.Match
2015-08-25 20:37:30 -07:00
Vishal Rana
fec348385e Added new functions: Echo.Any & Echo.Match
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-08-25 20:36:15 -07:00
Vishal Rana
9216043df5 Refactored some functions
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-08-25 01:03:33 -07:00
Vishal Rana
2450450a07 Merge pull request #185 from labstack/context-file
Added attachment as option in Context.File function
2015-08-24 22:04:08 -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
6fdd292a1f Closed #170
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-31 19:25:03 -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
a5696d631c Merge pull request #172 from axdg/master
OPTIONS method was returning the wrong node of the radix tree
2015-07-30 10:13:33 -07:00
axdg
2a935abe1e Options http method fix 2015-07-31 02:29:23 +10: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
9b47516c50 Fixed #165
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-27 22:51:53 -07:00
Vishal Rana
d077efe91a Fixed #162
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-27 08:43:11 -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
5ac2b8abfa Removed jsonp recipe
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-24 16:25:24 -07:00
Will Fitzgerald
9257875cb7 Added JSONP API in Context
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-24 16:23:35 -07:00
netmml
96e5761b75 Added license badge 2015-07-24 15:41:43 -07:00
axdg
523ac4a9a0 Handle invalid status code in Context.Redirect
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-24 15:09:41 -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
99f2868bcc Refactored contants for media types
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-22 04:44:29 -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
17c83a01a4 Fixed #149
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-20 19:24:33 -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
netmml
ace5843983 Fixed jwt-auth recipe link in README
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-16 08:27:40 -07:00
Vishal Rana
15ce60e346 Fixed #141
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-16 08:05:16 -07:00
Vishal Rana
533792b86c Merge pull request #138 from chrisseto/feature/redirect-return
Context.Redirect now returns an error
2015-07-15 08:01:47 -07:00
Chris Seto
22ad37bace Context.Redirect now returns an error
Context.Redirect will now return nil allowing users to do:
    return context.Redirect(...)
  rather that having to return nil everytime Redirect is used, ie:
    context.Redirect(...)
    return nil
2015-07-14 21:35:28 -04:00
Vishal Rana
6d733d3120 Fixed #1 - Reset context
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-14 10:56:23 -07:00
Vishal Rana
6430299ca0 Fixed #135
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-13 23:36:56 -07:00
Chase Hutchins
959f4bd1ab Updated websocket recipe
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-12 21:49:21 -07:00
Vishal Rana
4b229cab83 Fixed #84 - Added API to disable the colored log
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-12 21:40:27 -07:00
Chase Hutchins
f9a7f46edc fixing websocket recipe 2015-07-12 15:41:46 -07:00
Vishal Rana
3c917b4c11 Merge branch 'master' of https://github.com/labstack/echo 2015-07-12 08:38:52 -07:00
Vishal Rana
cb5eb336b1 Fixed type in charset=utf-8
Signed-off-by: Vishal Rana <vr@labstack.com>
2015-07-12 08:38:00 -07:00