unixsocket

package
v0.0.0-...-af616ac Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is our UnixSocket server.

func New

func New(socketPath string, hnd daemon.Handler) *Server

New returns a new Unix Socket Server.

func (*Server) Close

func (s *Server) Close() error

Close implements io.Closer

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() (err error)

ListenAndServe on a Unix Socket.

Jump to

Keyboard shortcuts

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