# go-connections

> Utility package to work with network connections

Source: https://talira.ai/catalog/go-connections-wbgyfqhd
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / sockets](https://talira.ai/categories/libraries/sockets)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Docker](https://talira.ai/orgs/docker.md)
- Funding: Series C, 2022[^2]

go-connections is Docker's Go library of helpers for network connections, split into packages for specific jobs: nat parses and manipulates strings describing network ports and port bindings ("80/tcp"), sockets creates and configures Unix and TCP sockets and HTTP transports, tlsconfig returns secure-enough TLS configurations for clients and servers, and proxy forwards TCP and UDP traffic between two addresses for software port mapping. It's Apache-2.0 licensed.

## Links

- GitHub: https://github.com/docker/go-connections
- Docs: https://pkg.go.dev/github.com/docker/go-connections

## Problems it solves

- parse Docker-style port mappings like 8080:80/tcp in Go
- get a secure default TLS config for a Go client or server
- forward TCP or UDP traffic between two addresses from Go code

## Features

- nat: parse port specs and port bindings such as 80/tcp
- sockets: create and configure Unix and TCP sockets and HTTP transports
- tlsconfig: secure default TLS configurations for clients and servers
- proxy: TCP and UDP proxies for software port mapping

## Trust

Overall: 0.52 out of 1.
Signals: maintenance 0.69, adoption 0.47, momentum 0.13, community 0.85, backing 0.55, extensibility 0.00.

- last commit 5 days ago
- 14 commits in the last 90 days
- latest release v0.8.2 52 days ago
- 231 GitHub stars
- 130 contributors
- backed by Docker
- funding: Series C, 2022

## Sources

[^1]: https://github.com/docker/go-connections/blob/main/LICENSE (checked 27 Nov 2026)
[^2]: https://www.docker.com/press-release/accelerate-investments-in-developer-productivity-trusted-content-and-ecosystem-partnerships/ (checked 20 Nov 2026)
