MCPcopy Index your code
hub / github.com/ContentSquare/chproxy

github.com/ContentSquare/chproxy @v1.30.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.30.0 ↗ · + Follow
558 symbols 1,874 edges 54 files 126 documented · 23% updated 2mo agov1.30.0 · 2025-09-10★ 1,46655 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Go Report Card Go Coverage

chproxy

Chproxy is an HTTP proxy and load balancer for the ClickHouse database.

It is an open-source community project and not an official ClickHouse project.

Full documentation is available on the official website.

Contributing

See our contributing guide

Extension points exported contracts — how you extend this code

ResponseWriterWithCode (Interface)
(no doc) [4 implementers]
io.go
Cache (Interface)
Cache stores results of executed queries identified by Key [2 implementers]
cache/cache.go
TransactionRegistry (Interface)
TransactionRegistry is a registry of ongoing queries identified by Key. [2 implementers]
cache/transaction_registry.go
NodeOption (Interface)
(no doc) [2 implementers]
internal/topology/node.go
HeartBeat (Interface)
(no doc) [2 implementers]
internal/heartbeat/heartbeat.go
StatResponseWriter (Interface)
(no doc) [2 implementers]
io.go
Option (Interface)
(no doc) [2 implementers]
internal/heartbeat/heartbeat.go

Core symbols most depended-on inside this repo

Close
called by 68
cache/async_cache.go
Get
called by 58
cache/cache.go
Debugf
called by 35
log/log.go
Errorf
called by 33
log/log.go
Host
called by 33
internal/topology/node.go
String
called by 28
cache/key.go
Contains
called by 24
config/types.go
Inc
called by 23
internal/counter/counter.go

Shape

Function 245
Method 224
Struct 74
Interface 8
TypeAlias 7

Languages

Go100%

Modules by API surface

config/config.go65 symbols
scope.go48 symbols
cache/redis_cache.go31 symbols
proxy_test.go27 symbols
proxy.go23 symbols
internal/topology/node.go23 symbols
utils.go22 symbols
main_test.go20 symbols
proxyretry_test.go19 symbols
io.go17 symbols
utils_test.go16 symbols
main.go15 symbols

For agents

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

⬇ download graph artifact