2.1.1 • Published 8 years ago

wq2_sdk v2.1.1

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

8 years ago

2.1.0

8 years ago

2.0.9

8 years ago

2.0.8

8 years ago

2.0.7

8 years ago

2.0.6

8 years ago

2.0.5

8 years ago

2.0.4

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.0

8 years ago