07 2014 档案
摘要:封装类如下:$host,'port'=>5672,'username'=>$username,'password'=>$password,'vhost'=>'/') */ public function __construct($configs = array(), $exchange...
阅读全文
摘要:'''httpsqs队列封装@author xp_go@qq.coma = HttpsqsClient('192.168.0.218','1218','httpsqsmmall.com')print a.put('logtest','sdfsfsf')print a.get('logtest')''...
阅读全文
摘要:本段代码主要作用是httpsqs队列的消费端守护进程,从httpsqs中取出数据,放入mongodb#!/usr/bin/pythonimport sys,time,json,loggingimport Queue, threading, datetimefrom lib.base.daemon i...
阅读全文

浙公网安备 33010602011771号