package xnet

import "github.com/moby/swarmkit/v2/xnet"

Index

Functions

func DialTimeoutLocal

func DialTimeoutLocal(socket string, timeout time.Duration) (net.Conn, error)

DialTimeoutLocal is a DialTimeout function for local sockets

func ListenLocal

func ListenLocal(socket string) (net.Listener, error)

ListenLocal opens a local socket for control communication

Source Files

xnet_unix.go

Version
v2.1.1 (latest)
Published
Oct 7, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
4 months ago

Tools for package owners.