-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
How to combine responses from multiple targets, essentially we want to do is this:
const gateway = require('fast-gateway')
const server = gateway({
routes: [{
prefix: '/service',
target: {
'service1':'http://127.0.0.1:3000/a',
'service2':'http://127.0.0.1:3000/b',
'service3':'http://127.0.0.1:3000/c',
}]
})
server.start(8080)
In this we want /service endpoint to combine all responses from all services in target in a deterministic manner
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed