MCPcopy Index your code
hub / github.com/chuangyou/qsf

github.com/chuangyou/qsf @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
324 symbols 1,063 edges 41 files 131 documented · 40%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Statter (Interface)
Statter interface provides a way to gather statistics from breakers [2 implementers]
plugin/breaker/panel.go
CounterOption (FuncType)
A CounterOption lets you add options to Counter metrics using With* funcs.
plugin/prometheus/metric_options.go
Option (FuncType)
Option instances may be used in OpenTracing(Server|Client)Interceptor initialization. See this post about the "function
plugin/tracing/options.go
ServiceCredentialer (Interface)
(no doc) [1 implementers]
client/client.go
TripFunc (FuncType)
TripFunc is a function called by a Breaker's Fail() function and determines whether the breaker should trip. It will rec
plugin/breaker/circuitbreaker.go
HistogramOption (FuncType)
A HistogramOption lets you add options to Histogram metrics using With* funcs.
plugin/prometheus/metric_options.go
SpanInclusionFunc (FuncType)
SpanInclusionFunc provides an optional mechanism to decide whether or not to trace a given gRPC call. Return true to cre
plugin/tracing/options.go
SpanDecoratorFunc (FuncType)
SpanDecoratorFunc provides an (optional) mechanism for otgrpc users to add arbitrary tags/logs/etc to the opentracing.Sp
plugin/tracing/options.go

Core symbols most depended-on inside this repo

Add
called by 24
plugin/breaker/panel.go
Call
called by 22
plugin/breaker/circuitbreaker.go
Limit
called by 21
plugin/ratelimit/ratelimit.go
Fail
called by 21
plugin/breaker/window.go
Tripped
called by 19
plugin/breaker/circuitbreaker.go
Reset
called by 18
plugin/breaker/window.go
Ready
called by 14
plugin/breaker/circuitbreaker.go
NewThresholdBreaker
called by 13
plugin/breaker/circuitbreaker.go

Shape

Method 144
Function 126
Struct 39
FuncType 6
TypeAlias 5
Interface 4

Languages

Go100%

Modules by API surface

plugin/breaker/circuitbreaker.go33 symbols
examples/pb/example.pb.go32 symbols
plugin/prometheus/server_test.go20 symbols
plugin/breaker/circuitbreaker_test.go19 symbols
plugin/breaker/panel.go18 symbols
plugin/prometheus/server_metrics.go13 symbols
plugin/breaker/window.go13 symbols
plugin/breaker/client.go12 symbols
client/client.go12 symbols
plugin/prometheus/client_metrics.go11 symbols
grpc_error/error.go11 symbols
plugin/breaker/panel_test.go10 symbols

For agents

$ claude mcp add qsf \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact