Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientBreakInterceptor ¶
func ClientBreakInterceptor(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error
ClientBreakInterceptor 客户端熔断器
func WithServerBreakerInterceptor ¶
func WithServerBreakerInterceptor() grpc.UnaryServerInterceptor
WithServerBreakerInterceptor rpc 服务端熔断器
Types ¶
type Group ¶
func NewSreBreakerGroup ¶ added in v0.1.12
type SreBreakerGroup ¶
func (*SreBreakerGroup) Get ¶
func (g *SreBreakerGroup) Get(key string) Breaker
Click to show internal directories.
Click to hide internal directories.