GitHub user rob05c opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/799
Add Traffic Ops Go Method Routing
- Separates Routes and Routing files
- Adds routing by HTTP Method
- Simplifies Routes func, making it easier to add routes
- Adds Semantic Versioning, adding routes to subsequent minor versions
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rob05c/incubator-trafficcontrol
to-go-betterrouter
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/799.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #799
----
commit baf4a0b150a9c3c418c18cb6669b0f0585772732
Author: Robert Butts <[email protected]>
Date: 2017-08-13T15:20:46Z
Add routing.go to separate routes from router
commit 0a2b7ed521f5a731b4ecb6b8382f942c291a38fc
Author: Robert Butts <[email protected]>
Date: 2017-08-13T17:30:47Z
Add TO Go Method Routing, simpler Routes func
- Adds routing by HTTP Method
- Simplifies Routes func, making it easier to add routes
- Adds Semantic Versioning, adding routes to subsequent minor versions
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---