unix

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package unix implements a net.Listener for UNIX domain sockets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(path string, mode os.FileMode) (net.Listener, error)

Create a listening UNIX domain socket with the given path and filesystem permissions. If a file already exists at the path, it is replaced. If the UNIX domain socket file is removed or changed, then within 5 seconds the net.Listener will be closed, and Accept will return an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL