relay

package
v4.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package relay defines the Relay interface for frame-based inter-process communication.

A Relay transports frame.Frame values between processes via three methods: Send, Receive, and Close. Concrete implementations are provided by the github.com/roadrunner-server/goridge/v4/pkg/socket and github.com/roadrunner-server/goridge/v4/pkg/pipe packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Relay

type Relay interface {
	// Send signed (prefixed) data to PHP process.
	Send(frame *frame.Frame) error

	// Receive data from the underlying process and returns associated prefix or error.
	Receive(frame *frame.Frame) error

	// Close the connection.
	Close() error
}

Relay provide IPC over signed payloads.

Jump to

Keyboard shortcuts

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