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.0.0-20250103191802-8c1959736554 (latest)
Published
Jan 3, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
1 week ago

Tools for package owners.