Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
cmd/slashquery
examples
testdata
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE
Makefile
README.md
a_test.go
balancer.go
balancer_test.go
config.go
config_test.go
genroutes.go
proxy.go
proxy_test.go
resolver.go
resolver_test.go
setup.go
setup_test.go
slashquery.go

README.md

SlashQuery

API Gateway

The big picture:

   (slashquery API Gateway)

api.example.com/<path endpoint>
               |            (plugins)       (upstream)      (microservices)
               |                                            /home
               | /*     >--[middleware]---[LoadBalancer]--< /home
               |                                            /home
               |
               |                                            /foo
               | /foo/* >--[middleware]---[LoadBalancer]--< /foo
               |                                            /foo
               |
               |                                            /foo-version-2
 (versioning)  | /foo/* >--[middleware]---[LoadBalancer]--< /foo-version-2
               |                                            /foo-version-2
               |
               |                                            /bar
               ` /bar/* >--[middleware]---[LoadBalancer]--< /bar
                                                            /bar