MCPcopy Create free account

hub / github.com/chuangyou/qsf / functions

Functions270 in github.com/chuangyou/qsf

MethodSetupTest
()
plugin/prometheus/client_test.go:70
FunctionSpanDecorator
SpanDecorator binds a function that decorates gRPC Spans.
plugin/tracing/options.go:48
FunctionStreamServerInterceptor
(rl *RateLimiter)
plugin/ratelimit/interceptor.go:21
FunctionStreamServerInterceptor
(breaker *Breaker)
plugin/breaker/interceptor.go:22
MethodString
()
examples/pb/example.pb.go:73
MethodSuccess
Success records a success in the current bucket.
plugin/breaker/window.go:84
MethodTearDownSuite
()
plugin/prometheus/server_test.go:94
MethodTearDownSuite
()
plugin/prometheus/client_test.go:82
FunctionTestAddRemoveListener
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:104
FunctionTestBreakerCounts
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:36
FunctionTestBreakerEvents
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:76
FunctionTestBreakerTripping
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:18
FunctionTestClientInterceptorSuite
(t *testing.T)
plugin/prometheus/client_test.go:29
FunctionTestConsecutiveBreaker
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:212
FunctionTestErrorRate
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:69
FunctionTestGinkgoSuite
--------------------------------------------------------------------
plugin/ratelimit/ratelimit_test.go:131
FunctionTestNeverRetryAfterBackoffStops
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:433
FunctionTestPanelAdd
(t *testing.T)
plugin/breaker/panel_test.go:27
FunctionTestPanelGet
(t *testing.T)
plugin/breaker/panel_test.go:10
FunctionTestPanelStats
(t *testing.T)
plugin/breaker/panel_test.go:39
FunctionTestPartialSecondBackoff
TestPartialSecondBackoff ensures that the breaker event less than nextBackoff value time after tripping the breaker isn't allowed.
plugin/breaker/circuitbreaker_test.go:455
FunctionTestRateBreakerResets
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:388
FunctionTestRateBreakerSampleSize
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:379
FunctionTestRateBreakerTripping
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:363
MethodTestRegisterPresetsStuff
()
plugin/prometheus/server_test.go:106
FunctionTestServerInterceptorSuite
(t *testing.T)
plugin/prometheus/server_test.go:43
FunctionTestSpanTags
(t *testing.T)
plugin/tracing/errors_test.go:18
MethodTestStartedStreamingIncrementsStarted
()
plugin/prometheus/server_test.go:142
MethodTestStartedStreamingIncrementsStarted
()
plugin/prometheus/client_test.go:108
MethodTestStreamingIncrementsMetrics
()
plugin/prometheus/server_test.go:154
MethodTestStreamingIncrementsMetrics
()
plugin/prometheus/client_test.go:118
FunctionTestThresholdBreaker
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:186
FunctionTestThresholdBreakerCalling
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:232
FunctionTestThresholdBreakerCallingContext
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:256
FunctionTestThresholdBreakerResets
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:292
FunctionTestTimeoutBreaker
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:325
FunctionTestTrippableBreakerManualBreak
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:167
FunctionTestTrippableBreakerState
(t *testing.T)
plugin/breaker/circuitbreaker_test.go:142
MethodTestUnaryIncrementsMetrics
()
plugin/prometheus/server_test.go:128
MethodTestUnaryIncrementsMetrics
()
plugin/prometheus/client_test.go:94
FunctionTestWindowCounts
(t *testing.T)
plugin/breaker/window_test.go:10
FunctionTestWindowSlides
(t *testing.T)
plugin/breaker/window_test.go:38
MethodTiming
(sampleRate float32, bucket string, d ...time.Duration)
plugin/breaker/panel_test.go:105
MethodTiming
(sampleRate float32, bucket string, d ...time.Duration)
plugin/breaker/panel.go:143
MethodUnRegister
UnRegister delete registered service from etcd
plugin/loadbalance/registry/etcd/registry.go:131
FunctionUnaryClientInterceptor
(breaker *Breaker)
plugin/breaker/interceptor.go:9
FunctionUnaryServerInterceptor
(rl *RateLimiter)
plugin/ratelimit/interceptor.go:12
FunctionUnauthenticated
401 UNAUTHENTICATED 由于缺少、无效或过期的令牌,请求未通过身份验证
grpc_error/error.go:64
FunctionUnavailable
503 UNAVAILABLE 服务端不可用
grpc_error/error.go:150
FunctionWithConstLabels
WithConstLabels allows you to add ConstLabels to Counter metrics.
plugin/prometheus/metric_options.go:20
FunctionWithHistogramBuckets
WithHistogramBuckets allows you to specify custom bucket ranges for histograms if EnableHandlingTimeHistogram is on.
plugin/prometheus/metric_options.go:31
FunctionWithHistogramConstLabels
WithHistogramConstLabels allows you to add custom ConstLabels to histograms metrics.
plugin/prometheus/metric_options.go:37
MethodXXX_DiscardUnknown
()
examples/pb/example.pb.go:52
MethodXXX_DiscardUnknown
()
examples/pb/example.pb.go:91
MethodXXX_Marshal
(b []byte, deterministic bool)
examples/pb/example.pb.go:43
MethodXXX_Marshal
(b []byte, deterministic bool)
examples/pb/example.pb.go:82
MethodXXX_Merge
(src proto.Message)
examples/pb/example.pb.go:46
MethodXXX_Merge
(src proto.Message)
examples/pb/example.pb.go:85
MethodXXX_Size
()
examples/pb/example.pb.go:49
MethodXXX_Size
()
examples/pb/example.pb.go:88
MethodXXX_Unmarshal
(b []byte)
examples/pb/example.pb.go:40
MethodXXX_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
Functioninit
()
plugin/prometheus/server.go:26
Functioninit
()
plugin/prometheus/client.go:25
Functioninit
()
plugin/breaker/circuitbreaker_test.go:14
Functioninit
()
examples/pb/example.pb.go:104
Functionmain
()
examples/client/client_example.go:24
Functionmain
()
examples/server/server_example.go:28
Functionmain
()
examples/gateway/gateway_example.go:34
← previous201–270 of 270, ranked by callers