caijianyu
caijianyu
server端报错如下: E0621 18:17:09.503669 74411 motanProtocol.go:268] worng magic num:20562, err: W0621 18:17:09.503703 74411 motanserver.go:95] decode motan message fail! con:127.0.0.1:57222 “grpc导出的服务,必须是由grpc生成的service,直接用MotanDemoService是不行的。” 怎么通过motan生成grpc service呢,还是我得自己生成grpc service 另外,如何使用protobuf的序列化方法呢
the struct is sometimes generated by thrift or other tools such as protobuf, so it's not so convenient to add tags
Sorry I mean threre are many inbounds and outbounds in my program. But I only want to redirect the request which remote ip:port is '127.0.0.1:8080'.