npm fast-gateway 1.5.0
Support restana server factory

latest releases: 3.5.0, 3.4.7, 3.4.6...
4 years ago

In this release we extend the gateway configuration related to restana, basically we are allowing to overwrite the restana instantiation inside the gateway by providing a factory method.

const gateway = require('fast-gateway')
const restana = require('restana')
const serverInstance = restana({})

const server = gateway({
  restana: () => serverInstance,
  //...
})

The goal is to allow more complex restana initialisations such as the Elastic APM support.

Don't miss a new fast-gateway release

NewReleases is sending notifications on new releases.