MCPcopy Create free account

hub / github.com/chuangyou/qsf / types & classes

Types & classes54 in github.com/chuangyou/qsf

↓ 2 callersTypeAliascounterOptions
plugin/prometheus/metric_options.go:10
StructBreaker
Breaker is the base of a circuit breaker. It maintains failure and success counters as well as the event subscribers.
plugin/breaker/circuitbreaker.go:63
TypeAliasBreakerEvent
BreakerEvent indicates the type of event received over an event channel
plugin/breaker/circuitbreaker.go:15
TypeAliasClass
A Class is a set of types of outcomes (including errors) that will often be handled in the same way.
plugin/tracing/errors.go:12
StructClient
client/client.go:34
StructClientInterceptorTestSuite
plugin/prometheus/client_test.go:33
StructClientMetrics
ClientMetrics represents a collection of metrics to be registered on a Prometheus metrics registry for a gRPC client.
plugin/prometheus/client_metrics.go:15
StructConfig
client/client.go:25
StructConfig
server/server.go:30
FuncTypeCounterOption
A CounterOption lets you add options to Counter metrics using With* funcs.
plugin/prometheus/metric_options.go:8
StructErrorJson
grpc_error/error.go:17
StructEtcdReigistry
plugin/loadbalance/registry/etcd/registry.go:14
StructEtcdResolver
EtcdResolver is an implementation of grpc.naming.Resolver
plugin/loadbalance/registry/etcd/resolver.go:12
StructEtcdWatcher
EtcdWatcher is the implementation of grpc.naming.Watcher
plugin/loadbalance/registry/etcd/watcher.go:14
StructExample
please upgrade the proto package
examples/pb/example.pb.go:26
StructExampleService
examples/server/server_example.go:72
InterfaceExampleServiceClient
ExampleServiceClient is the client API for ExampleService service. For semantics around ctx use and closing/ending streaming RPCs, please refer to ht
examples/pb/example.pb.go:138
InterfaceExampleServiceServer
ExampleServiceServer is the server API for ExampleService service.
examples/pb/example.pb.go:160
StructGetExampleRequest
examples/pb/example.pb.go:65
StructHTTPClient
HTTPClient is a wrapper around http.Client that provides circuit breaker capabilities. By default, the client will use its defaultBreaker. A BreakerL
plugin/breaker/client.go:15
FuncTypeHistogramOption
A HistogramOption lets you add options to Histogram metrics using With* funcs.
plugin/prometheus/metric_options.go:28
StructListenerEvent
ListenerEvent includes a reference to the circuit breaker and the event.
plugin/breaker/circuitbreaker.go:32
StructNodeData
plugin/loadbalance/registry/etcd/registry.go:33
FuncTypeOption
Option instances may be used in OpenTracing(Server|Client)Interceptor initialization. See this post about the "functional options" pattern: http://da
plugin/tracing/options.go:10
StructOption
plugin/loadbalance/registry/etcd/registry.go:24
StructOptions
Options holds breaker configuration options.
plugin/breaker/circuitbreaker.go:91
StructPanel
Panel tracks a group of circuit breakers by name.
plugin/breaker/panel.go:25
StructPanelEvent
PanelEvent wraps a BreakerEvent and provides the string name of the breaker
plugin/breaker/panel.go:19
StructRateLimiter
RateLimiter instances are thread-safe.
plugin/ratelimit/ratelimit.go:9
StructServerInterceptorTestSuite
plugin/prometheus/server_test.go:47
StructServerMetrics
ServerMetrics represents a collection of metrics to be registered on a Prometheus metrics registry for a gRPC server.
plugin/prometheus/server_metrics.go:12
StructService
server/server.go:40
StructServiceCredential
client/client.go:143
InterfaceServiceCredentialer
client/client.go:138
FuncTypeSpanDecoratorFunc
SpanDecoratorFunc provides an (optional) mechanism for otgrpc users to add arbitrary tags/logs/etc to the opentracing.Span associated with client and/
plugin/tracing/options.go:41
FuncTypeSpanInclusionFunc
SpanInclusionFunc provides an optional mechanism to decide whether or not to trace a given gRPC call. Return true to create a Span and initiate tracin
plugin/tracing/options.go:26
InterfaceStatter
Statter interface provides a way to gather statistics from breakers
plugin/breaker/panel.go:12
FuncTypeTripFunc
TripFunc is a function called by a Breaker's Fail() function and determines whether the breaker should trip. It will receive the Breaker as an argumen
plugin/breaker/circuitbreaker.go:59
Structbucket
bucket holds counts of failures and successes
plugin/breaker/window.go:20
StructclientReporter
plugin/prometheus/client_reporter.go:12
StructexampleServiceClient
examples/pb/example.pb.go:142
TypeAliasgrpcType
plugin/prometheus/util.go:13
StructmetadataReaderWriter
metadataReaderWriter satisfies both the opentracing.TextMapReader and opentracing.TextMapWriter interfaces.
plugin/tracing/shared.go:18
StructmonitoredClientStream
monitoredClientStream wraps grpc.ClientStream allowing each Sent/Recv of message to increment counters.
plugin/prometheus/client_metrics.go:146
StructmonitoredServerStream
monitoredStream wraps grpc.ServerStream allowing each Sent/Recv of message to increment counters.
plugin/prometheus/server_metrics.go:150
StructnoopStatter
plugin/breaker/panel.go:139
StructopenTracingClientStream
plugin/tracing/client.go:181
StructopenTracingServerStream
plugin/tracing/server.go:126
Structoptions
The internal-only options struct. Obviously overkill at the moment; but will scale well as production use dictates other configuration and tuning para
plugin/tracing/options.go:57
StructserverReporter
plugin/prometheus/server_reporter.go:12
TypeAliasstate
plugin/breaker/circuitbreaker.go:37
StructtestService
plugin/prometheus/server_test.go:226
StructtestStatter
plugin/breaker/panel_test.go:75
Structwindow
window maintains a ring of buckets and increments the failure and success counts of the current bucket. Once a specified time has elapsed, it will adv
plugin/breaker/window.go:45