3.1.1 • Published 6 years ago

@financialforcedev/orizuru-transport-redis v3.1.1

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
6 years ago

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.

3.1.1

6 years ago

3.1.0

6 years ago

3.0.3

6 years ago