Skip to main content

Module protocol

Module protocol 

Source
Expand description

Wire protocol types shared with the Go Forge supervisor.

Structs§

CancelJobParams
CapabilitiesResponse
ErrorPayload
Go: ErrorPayload in go/transport.
HealthResponse
JobStatusParams
PongPayload
Use when the worker only needs to echo structured JSON inside payload.
WireEvent
Go: wireEvent — inner job data lives under payload.
WireRequest
Go: wireRequest — method string + optional params map/struct.
WireResponse
Go: wireResponse.

Functions§

decode_pong_payload
Decode WireResponse.payload for ping (Go expects a JSON object inside payload).