ipc

package
v3.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 8 Imported by: 10

Documentation

Overview

Package ipc implements the IPC transport on top of UNIX domain sockets. To enable it simply import it.

Index

Constants

View Source
const (
	// OptionIpcSocketPermissions is used to set the permissions on the
	// UNIX domain socket via chmod.  The argument is a uint32, and
	// represents the mode passed to chmod().  This is
	// done on the server side.  Be aware that relying on
	// socket permissions for enforcement is not portable.
	OptionIpcSocketPermissions = "UNIX-IPC-CHMOD"

	// OptionIpcSocketOwner is used to set the socket owner by
	// using chown on the server socket.  This will only work if
	// the process has permission.   The argument is an int.
	// If this fails to set at socket creation time,
	// no error is reported.
	OptionIpcSocketOwner = "UNIX-IPC-OWNER"

	// OptionIpcSocketGroup is used to set the socket group by
	// using chown on the server socket.  This will only work if
	// the process has permission.   The argument is an int.
	// If this fails to set at socket creation time,
	// no error is reported.
	OptionIpcSocketGroup = "UNIX-IPC-GROUP"

	// OptionSecurityDescriptor represents a Windows security
	// descriptor in SDDL format (string).  This can only be set on
	// a Listener, and must be set before the Listen routine
	// is called.
	OptionSecurityDescriptor = "WIN-IPC-SECURITY-DESCRIPTOR"

	// OptionInputBufferSize represents the Windows Named Pipe
	// input buffer size in bytes (type int32).  Default is 4096.
	// This is only for Listeners, and must be set before the
	// Listener is started.
	OptionInputBufferSize = "WIN-IPC-INPUT-BUFFER-SIZE"

	// OptionOutputBufferSize represents the Windows Named Pipe
	// output buffer size in bytes (type int32).  Default is 4096.
	// This is only for Listeners, and must be set before the
	// Listener is started.
	OptionOutputBufferSize = "WIN-IPC-OUTPUT-BUFFER-SIZE"
)
View Source
const (
	// Transport implements IPC.
	Transport = ipcTran(0)
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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