package portmapper
import "github.com/dotcloud/docker/libnetwork/portmapper"
Index ¶
Functions ¶
func StartProxy ¶
func StartProxy( proto string, hostIP net.IP, hostPort int, containerIP net.IP, containerPort int, proxyPath string, ) (stop func() error, retErr error)
StartProxy starts the proxy process at proxyPath, or instantiates a dummy proxy to bind the host port if proxyPath is the empty string.
Source Files ¶
- Version
- v27.0.1+incompatible
- Published
- Jun 21, 2024
- Platform
- linux/amd64
- Imports
- 10 packages
- Last checked
- 4 minutes ago –
Tools for package owners.