Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fabric ¶
type Fabric interface {
// Messenger is for async request/reply messaging with other services over the fabric.
// Message receiving when the recipient is not connected is best-effort and not guaranteed.
Messenger(service string) (MsgConnection, error)
// Create a 'replayer', i.e. a pub/sub connection with ordered messages that durably persist in the fabric.
// If 'beginning' is true, messages will be replayed from the "beginning of time".
// If false, messages will only be played from the current time. If only publishing, pass false.
Replayer(subject string, beginning bool) (ReplayConnection, error)
}
type Generator ¶
type Generator func() any // function to generate objects for message unmarshalling
type MsgConnection ¶
type ReplayConnection ¶
Click to show internal directories.
Click to hide internal directories.