gopkg icon indicating copy to clipboard operation
gopkg copied to clipboard

circuitbreaker Panel 接口添加 State 方法

Open snakorse opened this issue 1 year ago • 0 comments

Summary

https://github.com/bytedance/gopkg/blob/614d0af6619bf612a797e07e6a1ac1533f529491/cloud/circuitbreaker/interface.go#L20C8-L20C8

circuitbreaker.Panel 接口可以添加一个 State(key string) State 的方法吗

Motivation

在某些场景下,我希望获取某个key关联的breaker的状态,来做不同的动作,比如进行重新进行调度

Explanation

No response

snakorse avatar Aug 10 '23 08:08 snakorse