2.1.1 • Published 7 years ago

wq2_sdk v2.1.1

Weekly downloads
14
License
ISC
Repository
-
Last release
7 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

7 years ago

2.1.0

7 years ago

2.0.9

7 years ago

2.0.8

7 years ago

2.0.7

7 years ago

2.0.6

7 years ago

2.0.5

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.0

7 years ago