@financialforcedev/orizuru-transport-redis

3.1.1 • Public • Published

Orizuru Transport Redis.

Build Status NSP Status

Orizuru Transport Redis is a transport library for the Orizuru framework.

Install

$ npm install @financialforcedev/orizuru-transport-redis

Usage

Use this dependency to specify the transport layer that @financialforcedev/orizuru uses as Redis.

const
	// get classes from orizuru
	{ Server, Handler, Publisher } = require('@financialforcedev/orizuru'),

	// get the transport
	transport = require('@financialforcedev/orizuru-transport-redis'),

	// configure the transport
	transportConfig = {
		url: 'redis://localhost:6379'
	};

new Server({ transport, transportConfig }))...
new Handler({ transport, transportConfig })...
new Publisher({ transport, transportConfig })...

API Docs

Click to view JSDoc API documentation.

/@financialforcedev/orizuru-transport-redis/

    Package Sidebar

    Install

    npm i @financialforcedev/orizuru-transport-redis

    Weekly Downloads

    2

    Version

    3.1.1

    License

    BSD-3-Clause

    Unpacked Size

    1.07 MB

    Total Files

    46

    Last publish

    Collaborators

    • aditi0408
    • stephenwillcock
    • sfryffdc
    • dfruddffdc
    • mwoodffdc