experimental mashup of cbgb, tuqtng, tuq_client
experimental mashup of cbgb, tuqtng, tuq_client

Assimilated tuq_client with cbgb & tuqtng.  Will need to revisit about
how to do this better, as cbgb and tuqtng weren't designed for
embeddability and I did the bare minimum to borg this together.  The
ugliness is everyone wants to control the flag parsing and there are
startup races.

cbugg: close bug-683

$ ./tuq_client -tuqtng=play
2013/07/18 11:53:48 embedded cbgb
2013/07/18 11:53:48 -------------------------------------------------------
2013/07/18 11:53:48 warning: running openly without any adminUser/adminPass
2013/07/18 11:53:48 warning: please don't run this way in production usage
2013/07/18 11:53:48 -------------------------------------------------------
2013/07/18 11:53:48 loading buckets from: ./tmp
2013/07/18 11:53:48 loading bucket: default
2013/07/18 11:53:48 primary connections...
2013/07/18 11:53:48   connect your couchbase client to: http://HOST:8091/pools/default
2013/07/18 11:53:48   web admin U/I available on: http://HOST:8091
2013/07/18 11:53:48 secondary connections...
2013/07/18 11:53:48   view listening: :8092
2013/07/18 11:53:48   data listening: :11210
2013/07/18 11:53:48 loading static content from: http://cbgb.io/static.zip
2013/07/18 11:53:48 Static init complete
2013/07/18 11:53:50 tuqtng started...
2013/07/18 11:53:50 site: http://localhost:8091
tuq> select * from default
2013/07/18 11:54:00 Query String: select * from default
2013/07/18 11:54:00 Request View: http://localhost:8092/default/_all_docs?limit=1001
{
    "resultset": [
    ],
    "total_rows": 0
}
tuq>

couchbaselabs/tuqtng,couchbaselabs/tuqtng,couchbaselabs/tuqtng