Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docker/go-connections
/ types & classes
Types & classes
25 in github.com/docker/go-connections
⨍
Functions
176
◇
Types & classes
25
↓ 3 callers
TypeAlias
Port
Port is a string containing port number and protocol in the format "80/tcp"
nat/nat.go:27
↓ 1 callers
TypeAlias
inmemAddr
inmemAddr is used to satisfy net.Addr for the in-memory socket.
sockets/inmem_socket.go:10
Interface
EchoServer
proxy/network_proxy_test.go:19
Struct
InmemSocket
InmemSocket implements [net.Listener] using in-memory only connections.
sockets/inmem_socket.go:21
Struct
Options
Options represents the information needed to create client and server TLS configurations.
tlsconfig/config.go:19
Struct
PortBinding
PortBinding represents a binding between a Host IP address and a Host Port
nat/nat.go:13
TypeAlias
PortMap
PortMap is a collection of PortBinding indexed by Port
nat/nat.go:21
Struct
PortMapping
PortMapping is a data object mapping a Port to a PortBinding
nat/nat.go:147
TypeAlias
PortSet
PortSet is a collection of structs indexed by Port
nat/nat.go:24
Interface
Proxy
Proxy defines the behavior of a proxy. It forwards traffic back and forth between two endpoints : the frontend and the backend. It can be used to do s
proxy/proxy.go:14
FuncType
SockOption
SockOption sets up socket file's creating option
sockets/unix_socket.go:61
Struct
StubProxy
StubProxy is a proxy that is a stub (does nothing).
proxy/stub_proxy.go:8
Struct
TCPEchoServer
proxy/network_proxy_test.go:25
Struct
TCPProxy
TCPProxy is a proxy for TCP connections. It implements the Proxy interface to handle TCP traffic forwarding between the frontend and backend addresses
proxy/tcp_proxy.go:11
Struct
UDPEchoServer
proxy/network_proxy_test.go:30
Struct
UDPProxy
UDPProxy is proxy for which handles UDP datagrams. It implements the Proxy interface to handle UDP traffic forwarding between the frontend and backend
proxy/udp_proxy.go:47
Struct
connTrackKey
A net.Addr where the IP is split into two fields so you can use it as a key in a map:
proxy/udp_proxy.go:21
TypeAlias
connTrackMap
proxy/udp_proxy.go:42
Interface
logger
proxy/logger.go:3
Struct
noopLogger
proxy/logger.go:7
Struct
portMapEntry
nat/sort.go:36
TypeAlias
portMapSorter
nat/sort.go:43
Struct
portSorter
nat/sort.go:8
Struct
test
nat/nat_test.go:305
Struct
testTrustRoot
tlsconfig/systempool_test.go:26