Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
func (Broker) Subscribe ¶
func (b Broker) Subscribe( ctx context.Context, topic cqrs.RouteKey, _ *time.Duration, ) (<-chan cqrs.Envelope, error)
Subscribe registers interest in the given topic and returns a channel to begin processing messages The subscription will be canceled and interest will be removed from the topic when the context is canceled An error is returned if we fail to subscribe
Click to show internal directories.
Click to hide internal directories.