Comments (5)
@liuzhang hi,麻烦完整代码给下。
from stack-rpc-tutorials.
运行步骤:
go run rpc.go
micro api --handler=rpc
@printfcoder 上面代码,都是按照 https://github.com/micro-in-cn/tutorials/tree/master/examples/basic-practices/micro-api/rpc 这个来的
from stack-rpc-tutorials.
micro.zip
@printfcoder 这个是源码,有时间帮忙看看
from stack-rpc-tutorials.
如果使用的是示例,代码未改动,还是不行的话,基本就是micro版本问题,
更新一下micro和proto-micro-gen
再把proto重新生成一下
from stack-rpc-tutorials.
@printfcoder 我已经解决了,版本问题,micro 要用 v2 版本的启动 api
from stack-rpc-tutorials.
Related Issues (20)
- K8s示例 HOT 4
- part1 user-srv运行micro --registry=etcd call mu.micro.book.srv.user User.QueryUserByName '{"userName":"micro"}'报错 HOT 5
- part2 运行问题。 HOT 2
- Micro auto generate topic in kafka when run 1 service. HOT 1
- 一点小提议~ HOT 3
- 根据原文件运行part1出现error HOT 3
- 获取Session中的UserId时,空指针异常 HOT 2
- examples/basic-practices/micro-service/stream/file 问题 HOT 5
- 运行part1时提交请求时出错 HOT 9
- model操作数据实现方式不太明白问题 HOT 1
- 第一章演示user protobuf的问题 HOT 1
- micro api handler value 支持的类型 HOT 2
- 【重要】part 1 根据代码库操作报错 HOT 2
- 在part1中最后的curl请求返回为空 HOT 2
- 第七章, 通过网关不能直接访问到 user_web 服务 HOT 1
- 关于micro auth 的问题 HOT 4
- v3出来了。请同步。 HOT 1
- 求更新v3文档,支持 HOT 1
- 大佬们,v2的文档能不能再放出来一下,才刚开始看就没了 --。 HOT 1
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 stack-rpc-tutorials.