Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
Search
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
Go
100%
Modules
by API surface
train.go
16 symbols
log/log.go
4 symbols
train_test.go
3 symbols
statsd/statsd.go
3 symbols
mocks/Interceptor.go
3 symbols
curl/curl.go
3 symbols
log/log_test.go
2 symbols
curl/curl_test.go
1 symbols
Used by 1 indexed graphs
manifest dependencies, hub-wide
github.com/OpenManus/OpenManus-RL
For agents
$
claude mcp add train \ -- python -m otcore.mcp_server <graph>
⬇ download graph artifact