1.2.0 • Published 2 years ago

dtx-remote-config v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Purpose

Redis를 이용한 Remote-config으로 remote-config 해시테이블에 적재합니다.

Usage

const remoteConfig = require('remote-config');

const options = {
    host: host,
    port: 6379,
    password: password
}
remoteConfig.init(options); // redis create client
remoteConfig.set('key', 'value'); 
await remoteConfig.get('key');
remoteConfig.end(); // redis client end