Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type R ¶
type R interface { // Do will pass messages through an intermediary that may perform operations on the data. // ctx: context will control the flow of the application. // outbound: will receive messages from the current applications. // inbound: will receive messages from the relay source. RDo(ctx context.Context, outbound <-chan []events.Event, inbound chan<- []events.Event) error ID() string // ID returns a human readable identifier for this relay. }
R (Relay) passes events from a source to a destination via any intermediary.
Click to show internal directories.
Click to hide internal directories.