unix

package
v1.13.9 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrContextClosed   = fmt.Errorf("context closed")
	ErrServerClosed    = fmt.Errorf("server closed")
	ErrInvalidGroup    = fmt.Errorf("invalid unix group for socket group permission")
	ErrInvalidHandler  = fmt.Errorf("invalid handler")
	ErrShutdownTimeout = fmt.Errorf("timeout on stopping socket")
	ErrInvalidInstance = fmt.Errorf("invalid socket instance")
)

Functions

This section is empty.

Types

type ServerUnix

type ServerUnix interface {
	libsck.Server
	RegisterSocket(unixFile string, perm os.FileMode, gid int32) error
}

func New

func New(h libsck.Handler, sizeBuffRead libsiz.Size) ServerUnix

Jump to

Keyboard shortcuts

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