MCPcopy Index your code
hub / github.com/docker/go-connections

github.com/docker/go-connections @v0.7.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.7.0 ↗ · + Follow
189 symbols 598 edges 30 files 105 documented · 56% 293 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GoDoc

Introduction

go-connections provides common package to work with network connections.

Usage

See the docs in godoc for examples and documentation.

License

go-connections is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

Extension points exported contracts — how you extend this code

Proxy (Interface)
Proxy defines the behavior of a proxy. It forwards traffic back and forth between two endpoints : the frontend and the b [3 …
proxy/proxy.go
SockOption (FuncType)
SockOption sets up socket file's creating option
sockets/unix_socket.go
EchoServer (Interface)
(no doc) [2 implementers]
proxy/network_proxy_test.go

Core symbols most depended-on inside this repo

Close
called by 24
proxy/proxy.go
ParsePortSpecs
called by 15
nat/nat.go
Client
called by 13
tlsconfig/config.go
Proto
called by 12
nat/nat.go
Int
called by 12
nat/nat.go
Close
called by 12
proxy/network_proxy_test.go
Run
called by 12
proxy/proxy.go
Port
called by 11
nat/nat.go

Shape

Function 118
Method 46
Struct 15
TypeAlias 6
Interface 3
FuncType 1

Languages

Go100%

Modules by API surface

tlsconfig/config_test.go24 symbols
proxy/network_proxy_test.go21 symbols
nat/nat_test.go18 symbols
nat/nat.go18 symbols
nat/sort.go12 symbols
tlsconfig/config.go11 symbols
proxy/udp_proxy.go10 symbols
sockets/inmem_socket.go9 symbols
proxy/tcp_proxy.go7 symbols
sockets/unix_socket_windows.go6 symbols
proxy/stub_proxy.go6 symbols
proxy/proxy.go6 symbols

For agents

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

⬇ download graph artifact