Comments (1)
注册handler时,赋值是没有意义的。
srv.RouteCall(&User{Manager: linkManager})
因为每次执行handler都是new一个新对象
https://gist.github.com/chenqinghe/cadea0fc76f545154204b4dab35a4bef#file-main-go-L25
from erpc.
Related Issues (20)
- quic-go doesn't build on go 1.19 yet HOT 6
- 升级go.mod 和 quic-go 升级不兼容 HOT 3
- 使用govendor后的报错 HOT 2
- TLS handshake error from 10.x.x.x:53786 EOF HOT 1
- How Teleport upgrade to erpc? HOT 1
- c++ client HOT 3
- 您好,请问有详细的使用文档嘛 HOT 1
- 运行提示 undefined: cpu.HasAES错误 HOT 1
- GOARCH=arm 编译失败,存在类型不匹配问题 HOT 3
- 6.3.2版本编译失败 HOT 2
- PostDialPlugin:auth-bearer 无法重连 HOT 2
- 无法安装 HOT 1
- lucas-clemente/quic-go 依赖版本过低 HOT 1
- Socket
- defferences between erpc and go-micro? HOT 2
- 被攻击了...崩溃了.. HOT 2
- router 能不能暴露一个delete 方法 HOT 1
- Flat buffers support HOT 2
- 有没办法服务端对客户端的连接进行限制?
- invalid PreWriteCallPlugin in router: secure(encrypt/decrypt)
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 erpc.