Documentation ¶
Index ¶
- type EventBroadcaster
- func (_m *EventBroadcaster) Close() error
- func (_m *EventBroadcaster) Healthy() error
- func (_m *EventBroadcaster) Notify(channel string, payload string) error
- func (_m *EventBroadcaster) NotifyInsideGormTx(tx *gorm.DB, channel string, payload string) error
- func (_m *EventBroadcaster) Ready() error
- func (_m *EventBroadcaster) Start() error
- func (_m *EventBroadcaster) Subscribe(channel string, payloadFilter string) (postgres.Subscription, error)
- type Subscription
- type TransactionManager
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) Close ¶ added in v0.10.8
func (_m *EventBroadcaster) Close() error
Close provides a mock function with given fields:
func (*EventBroadcaster) Healthy ¶ added in v0.10.8
func (_m *EventBroadcaster) Healthy() error
Healthy provides a mock function with given fields:
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) Ready ¶ added in v0.10.8
func (_m *EventBroadcaster) Ready() error
Ready provides a mock function with given fields:
func (*EventBroadcaster) Start ¶
func (_m *EventBroadcaster) Start() error
Start 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) ChannelName ¶ added in v0.10.8
func (_m *Subscription) ChannelName() string
ChannelName provides a mock function with given fields:
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:
func (*Subscription) InterestedIn ¶ added in v0.10.8
func (_m *Subscription) InterestedIn(event postgres.Event) bool
InterestedIn provides a mock function with given fields: event
func (*Subscription) Send ¶ added in v0.10.8
func (_m *Subscription) Send(event postgres.Event)
Send provides a mock function with given fields: event
type TransactionManager ¶ added in v0.10.11
TransactionManager is an autogenerated mock type for the TransactionManager type
func (*TransactionManager) Transact ¶ added in v0.10.11
func (_m *TransactionManager) Transact(_a0 postgres.TxFn, _a1 ...postgres.TransactionOption) error
Transact provides a mock function with given fields: _a0, _a1
func (*TransactionManager) TransactWithContext ¶ added in v0.10.11
func (_m *TransactionManager) TransactWithContext(ctx context.Context, fn postgres.TxFn, optsFn ...postgres.TransactionOption) error
TransactWithContext provides a mock function with given fields: ctx, fn, optsFn