Documentation
¶
Overview ¶
Package tmsg routes canonical messages to Kernel actions.
Index ¶
- type TopicBinding
- type Transport
- func (t *Transport) CanHandle(b action.Binding) bool
- func (t *Transport) Do(ctx context.Context, _ any) (any, error)
- func (t *Transport) Mount(actions []action.AnyAction)
- func (t *Transport) Publish(ctx context.Context, env *message.Envelope) error
- func (t *Transport) Router() *message.Router
- func (t *Transport) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TopicBinding ¶
type TopicBinding struct {
Topic string
// contains filtered or unexported fields
}
TopicBinding routes a Kernel action from the canonical message envelope.
func Topic ¶
func Topic(topic string) TopicBinding
func (TopicBinding) String ¶
func (b TopicBinding) String() string
Click to show internal directories.
Click to hide internal directories.