uds

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: MIT Imports: 4 Imported by: 0

README

uds

Unix Domain Socket utils

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(a string, delay time.Duration) (*net.UnixConn, error)

sock, err := uds.Listen("/env/example.sock", time.Second*2)

sock.Write(msg)

func OpenSocket

func OpenSocket(a string) (*net.UnixListener, error)

listener, err := uds.OpenSocket("/env/example.sock")

Types

This section is empty.

Jump to

Keyboard shortcuts

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