Vishal Rana
|
ec048ea523
|
Fixed #1052, dropped param alias feature
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2018-01-30 19:02:29 -08:00 |
|
Vishal Rana
|
1b70cbebbe
|
Fixed #954
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2017-06-14 16:30:53 -07:00 |
|
Vishal Rana
|
a8cd0ad133
|
Closes #942
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2017-06-02 18:13:26 -07:00 |
|
Vishal Rana
|
3359eae306
|
Add json tags to route struct
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2017-05-16 16:29:33 -07:00 |
|
Vishal Rana
|
d5bff83dc3
|
Using *context instead of Context in Router#Find()
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2017-04-10 13:10:31 -07:00 |
|
Ole Bulbuk
|
f0e3f950cf
|
Tested and fixed bug with reused context (path parameters).
|
2017-03-30 12:05:24 +02:00 |
|
Vishal Rana
|
a098bcd3b0
|
Updated docs
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2017-02-19 13:02:10 -08:00 |
|
Diego Siqueira
|
a8b6864be3
|
Two little typos on comments (#835)
|
2017-02-02 11:50:17 -08:00 |
|
Vishal Rana
|
c7c4395fbd
|
Fixed #794
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2017-01-31 13:55:39 -08:00 |
|
Vishal Rana
|
fd9508ca39
|
param alias, context#param
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-11-17 18:42:00 -08:00 |
|
Vishal Rana
|
f9e97332f3
|
fixed #729
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-11-15 20:12:13 -08:00 |
|
Vishal Rana
|
c5a3575d4c
|
updated migration guide
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-11-14 22:54:09 -08:00 |
|
Vishal Rana
|
36251e88e2
|
router changes
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-10-21 20:36:49 -07:00 |
|
Vishal Rana
|
2bdbf6918e
|
fixed #623
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-10-14 14:52:40 -07:00 |
|
Vishal Rana
|
2eb87f8036
|
param wildcard capture fixed to *
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-10-10 18:36:48 -07:00 |
|
Vishal Rana
|
18b9e23ace
|
Closes #364
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-08-18 11:27:37 -07:00 |
|
Vishal Rana
|
451b2ccc9f
|
Exposed error handlers
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-07-05 08:43:46 -07:00 |
|
Vishal Rana
|
c24f06e7cb
|
Fixed #520
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-05-22 08:45:36 -07:00 |
|
Vishal Rana
|
682a5580b7
|
Deprecated Echo#GetContext() => Echo#AcquireContext(), Echo#PutContext() => Echo#ReleaseContext()
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-05-03 17:23:31 -07:00 |
|
Vishal Rana
|
1e04986e53
|
Var args for Context#SetParamNames and Context#SetParamValues.
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-04-17 09:41:20 -07:00 |
|
Vishal Rana
|
467cf05b41
|
Changes based on comments for #430
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-04-16 15:56:09 -07:00 |
|
Vishal Rana
|
94a16d25a3
|
Fixed #461
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-04-11 23:21:32 -07:00 |
|
Vishal Rana
|
33700bfcc2
|
Fixed #457
- Dropped static middleware in favor of Echo#Static & Echo#StaticConfig.
- Enhanced middleware chaining.
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-04-09 14:00:23 -07:00 |
|
Vishal Rana
|
b5d6c05101
|
Fixed #441, #294
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-04-02 14:24:51 -07:00 |
|
Vishal Rana
|
a7d1a8e0d1
|
Refactored some code
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-30 14:47:04 -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
|
f78c0662c1
|
Fixed #404
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-16 14:26:34 -07:00 |
|
Vishal Rana
|
34e964851f
|
Closes #283
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-08 19:40:25 -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
|
4f08fed018
|
Fixed #378
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-06 23:24:51 -08:00 |
|
Vishal Rana
|
d5ba76ed81
|
Router fix, #217, #371, #372.
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-03-03 22:06:47 -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
|
0731959a98
|
Object method to get real object
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2016-02-08 16:48:03 -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 |
|
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
|
72459fe299
|
Step towards v2
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-12-03 17:23:53 -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
|
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
|
1f8ecfd610
|
Closes #257
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-11-15 11:50:35 -08:00 |
|
Vishal Rana
|
56954bc0b6
|
Closes #235, Closes #203
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-11-12 20:23:14 -08:00 |
|
Vishal Rana
|
cddd4a6676
|
Support for 405 - method not allowed, closes #205
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-11-03 16:31:29 -08:00 |
|
Christopher Swenson
|
26620f505e
|
OPTIONS should route to the options handler
OPTIONS routing broke in 5b019c507e
|
2015-10-23 17:02:28 -07:00 |
|
Vishal Rana
|
51f118b0ee
|
Refactored variable type to kind
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-10-07 15:10:40 -07:00 |
|
Vishal Rana
|
0f82a6439b
|
Removed 405 handling for now
Signed-off-by: Vishal Rana <vr@labstack.com>
|
2015-10-06 13:56:01 -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
|
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 |
|