MCPcopy Index your code
hub / github.com/cloudflare/golibs

github.com/cloudflare/golibs @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
351 symbols 1,069 edges 37 files 142 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

Cache (Interface)
Cache interface is fulfilled by the LRUCache and MultiLRUCache implementations. [2 implementers]
lrucache/cache.go
GenericCache (Interface)
(no doc) [4 implementers]
lrucache/benchmark/main.go
StackPusher (Interface)
An interface used to add things to the stack. [1 implementers]
circularbuffer/circularbuffer.go
StackGetter (Interface)
An interface used to get items from the stack. [1 implementers]
circularbuffer/circularbuffer.go

Core symbols most depended-on inside this repo

Error
called by 101
kt/kt.go
NBPush
called by 40
circularbuffer/circularbuffer.go
Set
called by 28
lrucache/lrucache.go
Get
called by 27
lrucache/lrucache.go
Touch
called by 16
spacesaving/rate.go
NewConn
called by 15
kt/kt.go
Get
called by 12
pool/pool.go
Set
called by 11
lrucache/multilru.go

Shape

Method 179
Function 126
Struct 35
TypeAlias 5
Interface 4
FuncType 2

Languages

Go100%

Modules by API surface

kt/kt.go48 symbols
lrucache/lrucache.go24 symbols
lrucache/list.go22 symbols
spacesaving/rate.go20 symbols
lrucache/multilru.go19 symbols
spacesaving/rate_test.go17 symbols
spacesaving/srate.go14 symbols
lrucache/lrucache_test.go14 symbols
circularbuffer/circularbuffer.go14 symbols
lrucache/cache.go13 symbols
kt/kt_metrics.go13 symbols
kt/kt_base_test.go13 symbols

For agents

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

⬇ download graph artifact