Vishal Rana
|
b47abdb9ec
|
Fixed #424, #427
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-20 08:14:55 -07:00 |
|
Vishal Rana
|
c4caeb8ffb
|
more godoc
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-19 15:47:20 -07:00 |
|
Vishal Rana
|
d01e856db6
|
Closes #423
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-19 08:38:35 -07:00 |
|
Vishal Rana
|
4d30b193ad
|
#410, actually timestamp.
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-18 20:02:02 -07:00 |
|
Vishal Rana
|
3946a1839c
|
New API Echo#GetContext & Echo#PutContext.
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-17 21:49:06 -07:00 |
|
Vishal Rana
|
e159f4d7ef
|
Making Echo#Pre actually work.
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-17 13:24:52 -07:00 |
|
Vishal Rana
|
3abe661e72
|
Fixed nested group middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-16 20:25:58 -07:00 |
|
Vishal Rana
|
111d65a5b4
|
Fixed engine.test
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-16 16:15:40 -07:00 |
|
Vishal Rana
|
f78c0662c1
|
Fixed #404
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-16 14:26:34 -07:00 |
|
Vishal Rana
|
2d6aaa8a33
|
Fixed #405
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-15 08:33:57 -07:00 |
|
weisdd
|
cc6b31d0ef
|
Closes #396, echo#WrapMiddleware check error.
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-13 10:18:51 -07:00 |
|
Vishal Rana
|
7942e4a77b
|
Engine#Multipart,#FormFile. Closes #394.
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-12 18:32:36 -08:00 |
|
Vishal Rana
|
5b5df5bf44
|
Last-Modified header for static content
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-12 10:18:40 -08:00 |
|
Vishal Rana
|
082814c776
|
Fixed #387
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-12 05:14:15 -08:00 |
|
Vishal Rana
|
09f3d3061f
|
Closes #314
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-11 07:53:54 -08:00 |
|
Vishal Rana
|
25e72d623e
|
Fixed recover and gzip middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-10 16:35:20 -08:00 |
|
Vishal Rana
|
296498c942
|
Fixed nested groups, reset Context#handler
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-08 19:31:11 -08:00 |
|
Vishal Rana
|
f4a5abc8b2
|
Removed Context#Socket
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-08 08:14:25 -08:00 |
|
Vishal Rana
|
b6deec4897
|
WrapMiddleware for echo.Handler
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-07 07:55:26 -08:00 |
|
Vishal Rana
|
6a74849290
|
Handler wrapper in their respective packages #294
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-06 20:53:23 -08:00 |
|
Vishal Rana
|
569d72cd76
|
Fixed import cycle
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-06 16:43:47 -08:00 |
|
Vishal Rana
|
e1d789ecbb
|
Logger as not an interface
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-06 09:52:32 -08:00 |
|
Vishal Rana
|
a9c88cad63
|
Fixed #310
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-05 20:03:11 -08:00 |
|
Vishal Rana
|
8916d5558c
|
GAE fix
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-04 20:19:59 -08:00 |
|
Vishal Rana
|
e1a7549855
|
Removed Middleware#Priority
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-02-20 16:20:10 -08:00 |
|
Vishal Rana
|
b97a2c5ad6
|
Fixed group middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-02-20 08:11:02 -08:00 |
|
Vishal Rana
|
91ae93ebfc
|
Removed HTTP2 option
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-02-18 14:04:28 -08:00 |
|
Vishal Rana
|
e91717552f
|
Fixed response header and get handler name
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-02-17 11:58:03 -08:00 |
|
Vishal Rana
|
caf3bd31eb
|
- Handler and middleware signature changed
- Pre chain middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-02-15 19:32:16 -08:00 |
|
Vishal Rana
|
51acf465fe
|
- Moved static file serving to a new handler package
- Middleware at route level
- Group middleware is a in closure now
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-02-15 08:11:29 -08:00 |
|
Vishal Rana
|
94e5936287
|
Fixed test cases
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
|
2016-02-09 19:07:04 -08:00 |
|
Vishal Rana
|
8444488a2b
|
Fixed package dependencies
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
|
2016-02-09 13:37:38 -08:00 |
|
Vishal Rana
|
bf97da9a16
|
Exclude fasthttp in appengine
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
|
2016-02-09 11:43:00 -08:00 |
|
Vishal Rana
|
4982169106
|
Minor fixes to fasthttp
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
|
2016-02-09 08:12:37 -08:00 |
|
Vishal Rana
|
7b843e66c5
|
Wrappers for handler and middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-02-08 22:17:20 -08:00 |
|
Vishal Rana
|
3cd1d5be65
|
Fixed sync.Pool
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-02-08 17:26:00 -08:00 |
|
Vishal Rana
|
3f48b92c5d
|
RunWithConfig to RunConfig
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-02-08 11:09:34 -08:00 |
|
Vishal Rana
|
f27de9a804
|
Fixed logging
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-02-04 19:29:49 -08:00 |
|
Vishal Rana
|
f405794a7c
|
Now using sync.Pool
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-02-04 14:40:08 -08:00 |
|
Oleg Lobanov
|
981e3adc1c
|
Change context.Bind() return type to HTTPError. #344
|
2016-01-31 02:13:56 +04:00 |
|
Vishal Rana
|
4f577981b3
|
Dropped Go 1.4
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-01-29 09:16:05 -08:00 |
|
Vishal Rana
|
688293b5ed
|
v2 is compiling now
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-01-28 23:46:11 -08:00 |
|
Vishal Rana
|
dbd1e8e230
|
Separated recipes from the main repo
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-01-09 11:00:13 -08:00 |
|
Vishal Rana
|
33d8813eb5
|
Revert "Revert "Fixed Request.Out ""
This reverts commit 72050d765b .
|
2015-12-21 15:20:49 -08:00 |
|
Vishal Rana
|
72050d765b
|
Revert "Fixed Request.Out "
This reverts commit cced590a16 .
|
2015-12-21 15:18:53 -08:00 |
|
Vishal Rana
|
cced590a16
|
Fixed Request.Out
Signed-off-by: Vishal Rana <vishal.rana@verizon.com>
|
2015-12-21 15:18:03 -08:00 |
|
Vishal Rana
|
0884290766
|
Added X() method to return context
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-12-04 08:13:26 -08:00 |
|
Vishal Rana
|
72459fe299
|
Step towards v2
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-12-03 17:23:53 -08:00 |
|
Vishal Rana
|
5cd194b6b0
|
Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-12-03 14:14:14 -08:00 |
|
Vishal Rana
|
9650c39055
|
Bumped to v1.3
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-12-01 15:06:18 -08:00 |
|
Vishal Rana
|
754c84596e
|
Prevent caching for dynamic directory
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-11-24 07:38:28 -08:00 |
|
Vishal Rana
|
521cf5338e
|
Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-11-23 22:15:59 -08:00 |
|
Vishal Rana
|
d932e2a863
|
Added directory autoindex
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-11-23 22:12:56 -08:00 |
|
Vishal Rana
|
2ad06ce67e
|
Fixed #265
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-11-22 09:26:11 -08:00 |
|
Vishal Rana
|
4f996419e1
|
Fixed #255
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-11-20 19:39:35 -08:00 |
|
Vishal Rana
|
c578a662a0
|
Closes #261
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-11-19 07:40:24 -08:00 |
|
Vishal Rana
|
f09efac326
|
Revert #257
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-11-16 07:57:40 -08:00 |
|
Vishal Rana
|
0163cddab5
|
Putting Echo#Server back
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-11-15 13:32:21 -08:00 |
|
Vishal Rana
|
cba2724de3
|
Set echo as handler for Echo#RunServer*
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-11-15 12:08:12 -08:00 |
|
Vishal Rana
|
1f8ecfd610
|
Closes #257
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-11-15 11:50:35 -08:00 |
|
Vadim Komarov
|
35398b4200
|
Update http2 package import
github.com/bradfitz/http2 -> golang.org/x/net/http2
|
2015-10-20 00:09:59 +05:00 |
|
Vishal Rana
|
9ea3463d2c
|
Fixed #238
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-10-16 07:51:33 -07:00 |
|
Vishal Rana
|
f839210454
|
Getting echo reference from the node
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-10-06 11:04:36 -07:00 |
|
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
|
1efe837fdd
|
Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-10-05 15:52:07 -07:00 |
|
Hasty Granbery
|
87fd53d230
|
Fixed #178
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-09-21 09:01:33 -07:00 |
|
Ben Huson
|
799f01a87b
|
Adding IP Addresses in log entries
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-09-18 11:07:43 -07:00 |
|
Vishal Rana
|
27cedaf411
|
Using filepath instead of path
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-09-18 11:07:34 -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
|
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 |
|
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
|
507c69ec80
|
StripTrailingSlash is now an option
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-09-01 08:03:01 -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
|
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
|
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 |
|
Will Fitzgerald
|
9257875cb7
|
Added JSONP API in Context
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-07-24 16:23:35 -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
|
17c83a01a4
|
Fixed #149
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-07-20 19:24:33 -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
|
15ce60e346
|
Fixed #141
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-07-16 08:05:16 -07:00 |
|
Vishal Rana
|
6430299ca0
|
Fixed #135
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-07-13 23:36:56 -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 |
|
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 |
|
Vishal Rana
|
c4357ca80b
|
Fixed #131 - Use utf-8 encoding for bind and render API
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-07-12 08:29:36 -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
|
ba42c8f32c
|
Clear echo.Response if there is error while rendering.
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-07-07 17:34:59 -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 |
|
Merten van Gerven
|
07c0cf21f0
|
New API Echo.Server
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-06-27 21:47:46 -07:00 |
|
Chase Hutchins
|
50fb7e0050
|
More coverage for compress middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-06-26 21:24:14 -07:00 |
|
Chase Hutchins
|
3e7a66392e
|
fixing windows issue with static paths
|
2015-06-24 21:20:46 -07:00 |
|
Chase Hutchins
|
356909c49e
|
Content type sniffing for compress middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-06-24 15:36:05 -07:00 |
|
Vishal Rana
|
fb0a5072b6
|
Support for nested folder #100
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-06-19 17:52:42 -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
|
45a7e7d6f2
|
Closed #71
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-06-09 20:06:51 -07:00 |
|
Vishal Rana
|
ae721bd2b2
|
Bug in gzip, fixed #95, #96.
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-06-09 15:24:01 -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
|
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
|
b65641350e
|
Fixed #37
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-05-31 09:42:28 -07:00 |
|
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
|
76e9b44190
|
Exposed DefaultHTTPErrorHandler function
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-05-28 16:50:49 -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
|
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
|
6878bac597
|
Updated docs, fixed #78.
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-05-21 08:55:22 -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
|
ac4d019a9a
|
Refactored echo configuration functions
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-05-19 18:54:31 -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
|
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
|
1ee3bc23e3
|
Added gzip middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-05-15 12:29:14 -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
|
ba05b6e58e
|
Added favicon api
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-05-13 15:20: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
|
69a97671ad
|
Adding http basic authentication middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-05-11 15:43:54 -07:00 |
|
Vishal Rana
|
8ace8e2143
|
Refactored media types and headers
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-05-10 22:34:31 -07:00 |
|
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 |
|