2.1.1 • Published 6 years ago

wq2_sdk v2.1.1

Weekly downloads
14
License
ISC
Repository
-
Last release
6 years ago

how to use

import webs from 'wq2_sdk/client/web/index'

(async()=>{
    const {client} = await webs.initRPCClient('ws://127.0.0.1:8082',{debug:true,reconn_time:3000});
    const mgoClient = new webs.MgoClient(client);
    const redisClient = new webs.RedisClient(client);
    
    //mongo find
    const rs = await mgoClient.find({});
     
    //redis get 
    const rs1 = await redisClient.get('name')   
})()
2.1.1

6 years ago

2.1.0

6 years ago

2.0.9

6 years ago

2.0.8

6 years ago

2.0.7

6 years ago

2.0.6

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.0

6 years ago