package
Version:
v0.0.0-...-7fee067
Opens a new window with list of versions in this module.
Published: Mar 3, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Message struct {
Topic Topic
Requestor string
Payload interface{}
}
func (m Message) GetPayload() interface{}
type MessageBus interface {
Subscribe() chan Request
Publish(msg Request)
}
type Request interface {
GetPayload() interface{}
GetRequestor() string
GetTopic() string
Hash() string
String() string
}
type Topic interface {
String() string
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.