随笔分类 -  thrift

thrift-go(golang)Server端笔记
摘要:1、从thrift源码中拷贝go语言包(thrift\lib\go\thrift),放到go/src/下 2、新建go项目,实现server端服务接口 package main import ( "fmt" "os" "taochees" "thrift" "strconv" ) type Test 阅读全文

posted @ 2016-10-19 11:57 李军浩 阅读(3866) 评论(0) 推荐(0)

thrift - C#(CSharp)客户端连接池(ConnectionPool)
摘要:调用示例: var tran = ThriftPool.Instance().BorrowInstance(); TProtocol protocol = new TBinaryProtocol(tran); var client = new xxxx(protocol); //xxxx为生成的th 阅读全文

posted @ 2016-10-17 15:04 李军浩 阅读(1277) 评论(0) 推荐(0)

Windows环境下配置thrift编译器(VS2015)
摘要:参考官方文档:http://svn.apache.org/repos/asf/thrift/attic/trunk/compiler/cpp/README_Windows.txt 下载后复制到\compiler\cpp\src\下http://dl.download.csdn.net/down10/ 阅读全文

posted @ 2016-10-12 13:28 李军浩 阅读(2788) 评论(0) 推荐(0)

导航