Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chuangyou/qsf
/ functions
Functions
270 in github.com/chuangyou/qsf
⨍
Functions
270
◇
Types & classes
54
Method
SetupTest
()
plugin/prometheus/client_test.go:70
Function
SpanDecorator
SpanDecorator binds a function that decorates gRPC Spans.
plugin/tracing/options.go:48
Function
StreamServerInterceptor
(rl *RateLimiter)
plugin/ratelimit/interceptor.go:21
Function
StreamServerInterceptor
(breaker *Breaker)
plugin/breaker/interceptor.go:22
Method
String
()
examples/pb/example.pb.go:73
Method
Success
Success records a success in the current bucket.
plugin/breaker/window.go:84
Method
TearDownSuite
()
plugin/prometheus/server_test.go:94
Method
TearDownSuite
()
plugin/prometheus/client_test.go:82
Function
TestAddRemoveListener
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:104
Function
TestBreakerCounts
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:36
Function
TestBreakerEvents
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:76
Function
TestBreakerTripping
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:18
Function
TestClientInterceptorSuite
(t *testing.T)
plugin/prometheus/client_test.go:29
Function
TestConsecutiveBreaker
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:212
Function
TestErrorRate
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:69
Function
TestGinkgoSuite
--------------------------------------------------------------------
plugin/ratelimit/ratelimit_test.go:131
Function
TestNeverRetryAfterBackoffStops
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:433
Function
TestPanelAdd
(t *testing.T)
plugin/breaker/panel_test.go:27
Function
TestPanelGet
(t *testing.T)
plugin/breaker/panel_test.go:10
Function
TestPanelStats
(t *testing.T)
plugin/breaker/panel_test.go:39
Function
TestPartialSecondBackoff
TestPartialSecondBackoff ensures that the breaker event less than nextBackoff value time after tripping the breaker isn't allowed.
plugin/breaker/circuitbreaker_test.go:455
Function
TestRateBreakerResets
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:388
Function
TestRateBreakerSampleSize
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:379
Function
TestRateBreakerTripping
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:363
Method
TestRegisterPresetsStuff
()
plugin/prometheus/server_test.go:106
Function
TestServerInterceptorSuite
(t *testing.T)
plugin/prometheus/server_test.go:43
Function
TestSpanTags
(t *testing.T)
plugin/tracing/errors_test.go:18
Method
TestStartedStreamingIncrementsStarted
()
plugin/prometheus/server_test.go:142
Method
TestStartedStreamingIncrementsStarted
()
plugin/prometheus/client_test.go:108
Method
TestStreamingIncrementsMetrics
()
plugin/prometheus/server_test.go:154
Method
TestStreamingIncrementsMetrics
()
plugin/prometheus/client_test.go:118
Function
TestThresholdBreaker
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:186
Function
TestThresholdBreakerCalling
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:232
Function
TestThresholdBreakerCallingContext
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:256
Function
TestThresholdBreakerResets
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:292
Function
TestTimeoutBreaker
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:325
Function
TestTrippableBreakerManualBreak
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:167
Function
TestTrippableBreakerState
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:142
Method
TestUnaryIncrementsMetrics
()
plugin/prometheus/server_test.go:128
Method
TestUnaryIncrementsMetrics
()
plugin/prometheus/client_test.go:94
Function
TestWindowCounts
(t *testing.T)
plugin/breaker/window_test.go:10
Function
TestWindowSlides
(t *testing.T)
plugin/breaker/window_test.go:38
Method
Timing
(sampleRate float32, bucket string, d ...time.Duration)
plugin/breaker/panel_test.go:105
Method
Timing
(sampleRate float32, bucket string, d ...time.Duration)
plugin/breaker/panel.go:143
Method
UnRegister
UnRegister delete registered service from etcd
plugin/loadbalance/registry/etcd/registry.go:131
Function
UnaryClientInterceptor
(breaker *Breaker)
plugin/breaker/interceptor.go:9
Function
UnaryServerInterceptor
(rl *RateLimiter)
plugin/ratelimit/interceptor.go:12
Function
Unauthenticated
401 UNAUTHENTICATED 由于缺少、无效或过期的令牌,请求未通过身份验证
grpc_error/error.go:64
Function
Unavailable
503 UNAVAILABLE 服务端不可用
grpc_error/error.go:150
Function
WithConstLabels
WithConstLabels allows you to add ConstLabels to Counter metrics.
plugin/prometheus/metric_options.go:20
Function
WithHistogramBuckets
WithHistogramBuckets allows you to specify custom bucket ranges for histograms if EnableHandlingTimeHistogram is on.
plugin/prometheus/metric_options.go:31
Function
WithHistogramConstLabels
WithHistogramConstLabels allows you to add custom ConstLabels to histograms metrics.
plugin/prometheus/metric_options.go:37
Method
XXX_DiscardUnknown
()
examples/pb/example.pb.go:52
Method
XXX_DiscardUnknown
()
examples/pb/example.pb.go:91
Method
XXX_Marshal
(b []byte, deterministic bool)
examples/pb/example.pb.go:43
Method
XXX_Marshal
(b []byte, deterministic bool)
examples/pb/example.pb.go:82
Method
XXX_Merge
(src proto.Message)
examples/pb/example.pb.go:46
Method
XXX_Merge
(src proto.Message)
examples/pb/example.pb.go:85
Method
XXX_Size
()
examples/pb/example.pb.go:49
Method
XXX_Size
()
examples/pb/example.pb.go:88
Method
XXX_Unmarshal
(b []byte)
examples/pb/example.pb.go:40
Method
XXX_Unmarshal
(b []byte)
examples/pb/example.pb.go:79
Function
_ExampleService_GetExample_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
examples/pb/example.pb.go:168
Function
init
()
plugin/prometheus/server.go:26
Function
init
()
plugin/prometheus/client.go:25
Function
init
()
plugin/breaker/circuitbreaker_test.go:14
Function
init
()
examples/pb/example.pb.go:104
Function
main
()
examples/client/client_example.go:24
Function
main
()
examples/server/server_example.go:28
Function
main
()
examples/gateway/gateway_example.go:34
← previous
201–270 of 270, ranked by callers