Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TopicBinding ¶
type TopicBinding struct {
Topic string
}
TopicBinding routes an internal memory event to an action.
func Topic ¶
func Topic(topic string) TopicBinding
Topic binds an action to an in-process pub/sub topic.
func (TopicBinding) String ¶
func (b TopicBinding) String() string
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
Transport bridges the internal Nexss Bus to the Action execution engine.
func (*Transport) Do ¶
Do implements the Transport interface. It just blocks since the bus is in-memory.
func (*Transport) Mount ¶
Mount scans actions for tbus.Topic bindings and subscribes them to the internal bus.
Click to show internal directories.
Click to hide internal directories.