Files
crawlab/core/entity/ipc.go
2024-11-24 23:14:26 +08:00

9 lines
347 B
Go

package entity
// IPCMessage defines the structure for messages exchanged between parent and child processes
type IPCMessage struct {
Type string `json:"type"` // message type identifier
Payload interface{} `json:"payload"` // message content
IPC bool `json:"ipc"` // Add this field to explicitly mark IPC messages
}