Comments (5)
参考go标准库升级http.Do的方式,可以把context放进结构体里 https://go.dev/blog/context-and-structs
CheckHealth 方法
这个方法是无参的
from mosn.
from mosn.
感觉可以试试看的
from mosn.
感觉可以试试看的
如果直接在 CheckHealth
方法上加上一个入参 ctx 会破坏兼容性,如果要做一个好的兼容性的话,是不是可以新开一个 接口,比如叫:HealthCheckSessionV2,
或者还有其他比较好的方式吗?
from mosn.
参考go标准库升级http.Do的方式,可以把context放进结构体里 https://go.dev/blog/context-and-structs
from mosn.
Related Issues (20)
- 请问MOSN序列化失败后会打印对象吗 HOT 1
- The ClientErrorBias and ServerErrorBias in lbconfig are not using the default values correctly HOT 2
- 基于TCP的其他协议扩展 HOT 1
- SM2 证书支持 HOT 2
- MOSN takes too long to start when some dns servers are not working
- viewcore 生成对象引用关系图报错 HOT 4
- 优化点,提前 buffer.Grow HOT 3
- http1 clientStreamConnection goroutine leak HOT 2
- MOSN不支持反向push的协议,如果自己实现的话代码改动的方向是什么样的呢? HOT 4
- 社区钉钉二维码过期 HOT 1
- Add more log output to make troubleshooting easier
- 是否可以自定义loadbalance? HOT 1
- Actively sends heartbeat requests HOT 4
- 关于编译国密特性时BabaSSL引用的问题 HOT 1
- 扩展filters是否支持双向流grpc HOT 6
- 空闲检测的关闭策略不合理 HOT 6
- mosn是不是upstream的数据buffer好了后才发送给downstream HOT 7
- Precision loss occurs when converting from int64(xprotocol streamID) to int32
- CVE-2016-2183中关于DES/3DES HOT 3
- track add a method for set ResponseStartTimestamp
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 mosn.