MCPcopy Index your code
hub / github.com/cactus/go-camo

github.com/cactus/go-camo @v2.7.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.7.4 ↗ · + Follow
182 symbols 552 edges 32 files 42 documented · 23%
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

PathChecker (Interface)
PathChecker is an interface that specifes a CheckPath method, which returns true when a path component is a "hit" and fa [1 …
pkg/htrie/htrie.go
FilterFunc (FuncType)
The FilterFunc type is a function that validates a *url.URL A true value approves the url. A false value rejects the url
pkg/camo/proxy.go
DecoderFunc (FuncType)
DecoderFunc is a function type that defines a url decoder.
pkg/camo/encoding/url.go
EncoderFunc (FuncType)
EncoderFunc is a function type that defines a url encoder.
pkg/camo/encoding/url.go

Core symbols most depended-on inside this repo

String
called by 17
pkg/router/httpdate.go
AddRule
called by 9
pkg/htrie/htrie.go
NewURLMatcher
called by 7
pkg/htrie/htrie.go
DecodeURL
called by 6
pkg/camo/encoding/url.go
Update
called by 6
pkg/router/httpdate.go
B64EncodeURL
called by 5
pkg/camo/encoding/url.go
CheckPath
called by 5
pkg/htrie/glob_path_chk.go
NewGlobPathChecker
called by 5
pkg/htrie/glob_path_chk.go

Shape

Function 120
Method 42
Struct 15
FuncType 3
Interface 1
TypeAlias 1

Languages

Go97%
Python2%
Ruby1%

Modules by API surface

pkg/camo/proxy_test.go37 symbols
pkg/htrie/htrie.go20 symbols
pkg/camo/upstream_proxy.go10 symbols
pkg/camo/encoding/url.go10 symbols
pkg/camo/misc.go9 symbols
pkg/camo/encoding/url_test.go9 symbols
pkg/htrie/htrie_test.go8 symbols
pkg/camo/proxy.go8 symbols
pkg/camo/helpers_test.go8 symbols
cmd/url-tool/main.go6 symbols
pkg/router/httpdate_test.go5 symbols
pkg/htrie/glob_path_node.go5 symbols

For agents

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

⬇ download graph artifact