Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Latest commit

 

History

History
37 lines (24 loc) · 1.29 KB

readme.md

File metadata and controls

37 lines (24 loc) · 1.29 KB

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.