Documentation ¶
Index ¶
- type Bridge
- type Duplicate
- type Event
- type EventHandlerFunc
- type EventHandlerMiddleware
- type Option
- type PublishedEventsCollector
- type PublishedEventsMetrics
- type Source
- type UnpublishedStream
- type UnpublishedStreamCollector
- type UnpublishedStreamMetrics
- type WalkFunc
- type WalkUnpublishedEventsMiddleware
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHandlerMiddleware ¶
type EventHandlerMiddleware func(EventHandlerFunc) EventHandlerFunc
func NewPublishedEventsCollector ¶
func NewPublishedEventsCollector(m *PublishedEventsMetrics) EventHandlerMiddleware
func WrapEventHandler ¶
func WrapEventHandler(em EventHandlerMiddleware, ems ...EventHandlerMiddleware) EventHandlerMiddleware
type Option ¶
type Option func(*Bridge)
func SetPublishedEventsCollector ¶
func SetPublishedEventsCollector(c *PublishedEventsMetrics) Option
func SetUnpublishedStreamCollector ¶
func SetUnpublishedStreamCollector(c *UnpublishedStreamMetrics) Option
type PublishedEventsCollector ¶
type PublishedEventsCollector struct {
// contains filtered or unexported fields
}
func (*PublishedEventsCollector) EventHandler ¶
func (c *PublishedEventsCollector) EventHandler(ctx context.Context, e Event) (err error)
type PublishedEventsMetrics ¶
type UnpublishedStream ¶
type UnpublishedStreamCollector ¶
type UnpublishedStreamCollector struct {
// contains filtered or unexported fields
}
func (*UnpublishedStreamCollector) WalkFunc ¶
func (c *UnpublishedStreamCollector) WalkFunc(ctx context.Context, s *UnpublishedStream) (err error)
type WalkUnpublishedEventsMiddleware ¶
func NewUnpublishedStreamCollector ¶
func NewUnpublishedStreamCollector(m *UnpublishedStreamMetrics) WalkUnpublishedEventsMiddleware
func WrapWalkUnpublishedEvents ¶
func WrapWalkUnpublishedEvents(em WalkUnpublishedEventsMiddleware, ems ...WalkUnpublishedEventsMiddleware) WalkUnpublishedEventsMiddleware
Click to show internal directories.
Click to hide internal directories.