Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFowarder ¶
func NewFowarder( bus MessageQueue, eventTypes []string, ) eventmanager.Subscriber
NewFowarder fowards all voting events to a message queue.
Types ¶
type Envelope ¶
type Envelope struct { Header Header `json:"header,omitempty"` Body *json.RawMessage `json:"body,omitempty"` }
Envelope wraps a before sending it across the wire
type Message ¶
type Message interface { Event() eventstore.Event Header() Header }
Message is passed back to recieved and expected to go back to Ack or Nak
Click to show internal directories.
Click to hide internal directories.