2.0.1 • Published 2 years ago

@mimik/cache-helper v2.0.1

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
2 years ago

cache-helper

Example

const { rpCache } = require('@mimik/cache-helper');

cache-helper~rpCached(type, options) ⇒ Promise

Make a cached request.

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

  • Promise Will throw the same error than rpAuth of @mimik/oauth-helper.

Requires: module:@mimik/oauth-helper, module:@mimik/rediser, module:@mimik/sumologic-winston-logger
Fulfil: object - Response of the rpAuth of @mimik/oauth-helper request.

ParamTypeDescription
typestringType of micro-service to request.
optionsobjectOptions for the request. Similar to rpAuth of @mimik/oauth-helper options.
2.0.1

2 years ago

1.4.12

2 years ago

2.0.0

2 years ago

1.4.11

2 years ago

1.4.10

3 years ago

1.4.9

3 years ago

1.4.8

3 years ago

1.4.7

3 years ago

1.4.6

4 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

7 years ago