unix

package
v3.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSocket

func CreateSocket(path string) (net.Listener, error)

CreateSocket creates an unix socket and returns connection listener.

func Dial

func Dial(path string) (net.Conn, error)

Dial wraps net.Dial to handle 108 characters issue

func Listen

func Listen(path string) (net.Listener, error)

Listen wraps net.Listen to handle 108 characters issue

func WriteSocket

func WriteSocket(path string, data []byte) error

WriteSocket writes data over unix socket

Types

This section is empty.

Jump to

Keyboard shortcuts

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