aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/ctlsocksrv/ctlsock_listen.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/ctlsocksrv/ctlsock_listen.go b/internal/ctlsocksrv/ctlsock_listen.go
new file mode 100644
index 0000000..1db9cbc
--- /dev/null
+++ b/internal/ctlsocksrv/ctlsock_listen.go
@@ -0,0 +1,9 @@
+package ctlsocksrv
+
+import (
+ "net"
+)
+
+func Listen(path string) (net.Listener, error) {
+ return net.Listen("unix", path)
+}