@mimik/rediser

1.5.3 • Public • Published

rediser

Example

const redis = require('@mimik/rediser');

rediser~validate() ⇒ Promise

Database connection validation.

Kind: inner method of rediser
Returns: Promise - .
Category: async
Throws:

  • Promise Will throw an error if the database connection is not connected and is not disconnected.

Will exit 1 if the connection request times out and the connection state is not connected.

Requires: module:@mimik/sumologic-winston-logger
Fulfil: Return null.

rediser~initializeSync() ⇒ object

Database initialization.

Kind: inner method of rediser
Returns: object - The database object.
Category: sync
Requires: module:sumologic-winston-logger

Readme

Keywords

Package Sidebar

Install

npm i @mimik/rediser

Weekly Downloads

24

Version

1.5.3

License

MIT

Unpacked Size

9.67 kB

Total Files

7

Last publish

Collaborators

  • sasan.raisdana
  • miburger
  • hofachiang
  • mimik-npm-editor
  • mimikopensource