Documentation ¶
Index ¶
- type EventBroadcaster
- func (_m *EventBroadcaster) Notify(channel string, payload string) error
- func (_m *EventBroadcaster) NotifyInsideGormTx(tx *gorm.DB, channel string, payload string) error
- func (_m *EventBroadcaster) Start() error
- func (_m *EventBroadcaster) Stop() error
- func (_m *EventBroadcaster) Subscribe(channel string, payloadFilter string) (postgres.Subscription, error)
- type Subscription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventBroadcaster ¶
EventBroadcaster is an autogenerated mock type for the EventBroadcaster type
func (*EventBroadcaster) Notify ¶
func (_m *EventBroadcaster) Notify(channel string, payload string) error
Notify provides a mock function with given fields: channel, payload
func (*EventBroadcaster) NotifyInsideGormTx ¶
NotifyInsideGormTx provides a mock function with given fields: tx, channel, payload
func (*EventBroadcaster) Start ¶
func (_m *EventBroadcaster) Start() error
Start provides a mock function with given fields:
func (*EventBroadcaster) Stop ¶
func (_m *EventBroadcaster) Stop() error
Stop provides a mock function with given fields:
func (*EventBroadcaster) Subscribe ¶
func (_m *EventBroadcaster) Subscribe(channel string, payloadFilter string) (postgres.Subscription, error)
Subscribe provides a mock function with given fields: channel, payloadFilter
type Subscription ¶
Subscription is an autogenerated mock type for the Subscription type
func (*Subscription) Close ¶
func (_m *Subscription) Close()
Close provides a mock function with given fields:
func (*Subscription) Events ¶
func (_m *Subscription) Events() <-chan postgres.Event
Events provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.