vulcand / route Goto Github PK
View Code? Open in Web Editor NEWHTTP request routing library and language
License: Apache License 2.0
HTTP request routing library and language
License: Apache License 2.0
I'm having problems with the fact that expressions are sorted alphabetically, is there any reason to do this?
https://github.com/vulcand/route/blob/master/router.go#L145
Similar to #8 it looks like the OR boolean operator (||
) is not supported either.
Receiving this error when setting a frontend up in VulcanD:
route should be a valid route expression
Here's the route im attempting to add:
frontend upsert --backend mockbin --id=mockbin --route 'HostRegexp("^mockbin\..*")'
I verified my regex using Rubular: http://rubular.com/r/qQiGivbXQ4
Thoughts?
Add new matcher & regexpMatcher which match against http.Request
RemoteAddr value.
Why don't you add port matcher? I'd like to change routing depending on host & port combination in vulcand
None of the docs mention how to use <matcherType:name>
.
As far as I can tell, this doesn't work:
Path(`/foo/<value>`) && !Host(`bar.<domain>`)
Removing the negation ("!") allows it to work.
It'd be great if negation were allowed in the syntax.
So we can implement weighted round robin balancing just by using this function in vulcan's frontends or listener scopes. This allows us to do graceful deployment (canary deployment?) of new versions and lets it run for a while.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.