socket

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Socket

type Socket struct {
	Network string
	Path    string
}

Socket represents a unix socket.

func NewSocket

func NewSocket(str string) (*Socket, error)

NewSocket returns a new unix socket.

func (*Socket) Listen

func (s *Socket) Listen(force bool) (net.Listener, error)

Listen listens on the current socket for connections.

Jump to

Keyboard shortcuts

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