unixgram

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: 16 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 ServerUnixGram

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

func New

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

Jump to

Keyboard shortcuts

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