Files
wehub-resource-sync ead81af521
Deploy to GitHub Pages / deploy (push) Failing after 0s
CI / go (push) Has been cancelled
CI / build (darwin, macos-14) (push) Has been cancelled
CI / build (windows, windows-2025) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:31:13 +08:00

14 lines
325 B
Go

package ipc
import (
"net"
"time"
)
// dialWithTimeout exposes a raw Unix-socket dial helper so tests in this
// package can send arbitrary bytes instead of going through Send (which
// wraps a Request as JSON).
func dialWithTimeout(sockPath string, d time.Duration) (net.Conn, error) {
return dialSocket(sockPath, d)
}