Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidSchemaType = errors.New("bus: invalid schema type") ErrSchemaNotFound = errors.New("bus: schema not found") )
Functions ¶
This section is empty.
Types ¶
type Bus ¶
type Bus struct {
// contains filtered or unexported fields
}
func (*Bus) Subscribe ¶
func (b *Bus) Subscribe(stream, group string, subscriberFunc SubscriberFunc)
type ReaderTask ¶
type ReaderTask struct { Stream string GroupID string Handler SubscriberFunc }
Click to show internal directories.
Click to hide internal directories.