MCPcopy Index your code
hub / github.com/f2prateek/train

github.com/f2prateek/train @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
35 symbols 92 edges 8 files 14 documented · 40% 1 cross-repo links
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

Interceptor (Interface)
Observes, modifies, and potentially short-circuits requests going out and the corresponding requests coming back in. Typ [4 …
train.go
InterceptorFunc (FuncType)
The InterceptorFunc type is an adapter to allow the use of ordinary functions as interceptors. If f is a function with t
train.go
Chain (Interface)
(no doc) [1 implementers]
train.go

Core symbols most depended-on inside this repo

Request
called by 6
train.go
Proceed
called by 6
train.go
RoundTrip
called by 2
train.go
Intercept
called by 1
train.go
TransportWith
called by 1
train.go
Proceed
called by 1
train.go
Intercept
called by 0
train.go
RoundTripper
called by 0
train.go

Shape

Function 14
Method 11
Struct 6
Interface 2
FuncType 1
TypeAlias 1

Languages

Go100%

Modules by API surface

train.go16 symbols
log/log.go4 symbols
train_test.go3 symbols
statsd/statsd.go3 symbols
mocks/Interceptor.go3 symbols
curl/curl.go3 symbols
log/log_test.go2 symbols
curl/curl_test.go1 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

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

⬇ download graph artifact