ipcutil

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const MaxMessageSize = 1 << 20

MaxMessageSize is the maximum IPC message size (1MB).

Variables

This section is empty.

Functions

func Read

func Read(r io.Reader) ([]byte, error)

Read reads a length-prefixed IPC message from r.

func Write

func Write(w io.Writer, data []byte) error

Write writes a length-prefixed IPC message to w. It is safe for concurrent use: the length prefix and payload are written as an atomic unit, preventing interleaving when callers share the same writer across goroutines.

Types

This section is empty.

Jump to

Keyboard shortcuts

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