Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶ added in v0.3.0
type Broker interface { Publisher Subscriber }
A Broker publishes events and subscribes to them.
func NewNopBroker ¶ added in v0.3.0
func NewNopBroker() Broker
NewNopBroker returns a broker that does nothing.
type Subscriber ¶ added in v0.2.3
A Subscriber registers event handlers for events received on a topic.
type TaskQueued ¶ added in v0.2.3
type TaskQueued struct { Target *ent.Target Task *ent.Task Credentials []*ent.Credential Tags []*ent.Tag }
TaskQueued is a struct used to serialize a Task Queued event to pubsub
Click to show internal directories.
Click to hide internal directories.