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.
Click to show internal directories.
Click to hide internal directories.