Comments (6)
Thrift version 0.10.0
go version 1.8
from bitcoin-broker.
openzipkin-contrib/zipkin-go-opentracing#68
from bitcoin-broker.
@ynzheng so update go version to 1.9 can fix it ?
from bitcoin-broker.
func (p *tradeServiceProcessorPing) Process( seqId int32, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException) {
...
}
the TProcessorFunction add a new param called context
type TProcessorFunction interface {
Process(ctx context.Context, seqId int32, in, out TProtocol) (bool, TException)
}
from bitcoin-broker.
因为现在thrift的tag号最新是0.11.0,而用brew安装的最新是0.10.0,版本号不匹配。。把thirdparty/src/github.com/apache/thrift下的thrift版本切成0.10.0就可以了,默认它会自动拉最新https://github.com/apache/thrift
from bitcoin-broker.
Problem with compilation. Wrong version of thrift?
# trade_server
src/trade_server/trade_server.go:33:53: cannot use handler (type *TradeServiceHandler) as type trade_service.TradeService in argument to trade_service.NewTradeServiceProcessor:
*TradeServiceHandler does not implement trade_service.TradeService (wrong type for Buy method)
have Buy(*trade_service.Trade) error
want Buy(context.Context, *trade_service.Trade) error
Thrift version 1.0.0-dev
from bitcoin-broker.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitcoin-broker.