unix

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 13 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")
	ErrGoneTimeout     = fmt.Errorf("timeout on closing connections")
	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) ServerUnix

Jump to

Keyboard shortcuts

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