Documentation
¶
Index ¶
- type Broadcast
- type Broadcast_Channel_Call
- func (_c *Broadcast_Channel_Call) Return() *Broadcast_Channel_Call
- func (_c *Broadcast_Channel_Call) Run(run func(pattern string, callback broadcasting.ChannelAuthFunc)) *Broadcast_Channel_Call
- func (_c *Broadcast_Channel_Call) RunAndReturn(run func(string, broadcasting.ChannelAuthFunc)) *Broadcast_Channel_Call
- type Broadcast_Dispatch_Call
- func (_c *Broadcast_Dispatch_Call) Return(_a0 error) *Broadcast_Dispatch_Call
- func (_c *Broadcast_Dispatch_Call) Run(run func(ctx context.Context, event broadcasting.ShouldBroadcast)) *Broadcast_Dispatch_Call
- func (_c *Broadcast_Dispatch_Call) RunAndReturn(run func(context.Context, broadcasting.ShouldBroadcast) error) *Broadcast_Dispatch_Call
- type Broadcast_Expecter
- type ChannelAuthFunc
- type ChannelAuthFunc_Execute_Call
- func (_c *ChannelAuthFunc_Execute_Call) Return(_a0 bool, _a1 interface{}) *ChannelAuthFunc_Execute_Call
- func (_c *ChannelAuthFunc_Execute_Call) Run(run func(ctx context.Context, userID interface{}, channelName string, ...)) *ChannelAuthFunc_Execute_Call
- func (_c *ChannelAuthFunc_Execute_Call) RunAndReturn(...) *ChannelAuthFunc_Execute_Call
- type ChannelAuthFunc_Expecter
- type Driver
- type Driver_Broadcast_Call
- func (_c *Driver_Broadcast_Call) Return(_a0 error) *Driver_Broadcast_Call
- func (_c *Driver_Broadcast_Call) Run(run func(ctx context.Context, channels []string, event string, ...)) *Driver_Broadcast_Call
- func (_c *Driver_Broadcast_Call) RunAndReturn(run func(context.Context, []string, string, map[string]interface{}) error) *Driver_Broadcast_Call
- type Driver_Expecter
- type ShouldBroadcast
- type ShouldBroadcastNow
- type ShouldBroadcastNow_BroadcastNow_Call
- func (_c *ShouldBroadcastNow_BroadcastNow_Call) Return(_a0 bool) *ShouldBroadcastNow_BroadcastNow_Call
- func (_c *ShouldBroadcastNow_BroadcastNow_Call) Run(run func()) *ShouldBroadcastNow_BroadcastNow_Call
- func (_c *ShouldBroadcastNow_BroadcastNow_Call) RunAndReturn(run func() bool) *ShouldBroadcastNow_BroadcastNow_Call
- type ShouldBroadcastNow_Expecter
- type ShouldBroadcastWithBackoff
- type ShouldBroadcastWithBackoff_BroadcastBackoff_Call
- func (_c *ShouldBroadcastWithBackoff_BroadcastBackoff_Call) Return(_a0 []time.Duration) *ShouldBroadcastWithBackoff_BroadcastBackoff_Call
- func (_c *ShouldBroadcastWithBackoff_BroadcastBackoff_Call) Run(run func()) *ShouldBroadcastWithBackoff_BroadcastBackoff_Call
- func (_c *ShouldBroadcastWithBackoff_BroadcastBackoff_Call) RunAndReturn(run func() []time.Duration) *ShouldBroadcastWithBackoff_BroadcastBackoff_Call
- type ShouldBroadcastWithBackoff_Expecter
- type ShouldBroadcastWithConnections
- type ShouldBroadcastWithConnections_BroadcastConnections_Call
- func (_c *ShouldBroadcastWithConnections_BroadcastConnections_Call) Return(_a0 []string) *ShouldBroadcastWithConnections_BroadcastConnections_Call
- func (_c *ShouldBroadcastWithConnections_BroadcastConnections_Call) Run(run func()) *ShouldBroadcastWithConnections_BroadcastConnections_Call
- func (_c *ShouldBroadcastWithConnections_BroadcastConnections_Call) RunAndReturn(run func() []string) *ShouldBroadcastWithConnections_BroadcastConnections_Call
- type ShouldBroadcastWithConnections_Expecter
- type ShouldBroadcastWithDelay
- type ShouldBroadcastWithDelay_BroadcastDelay_Call
- func (_c *ShouldBroadcastWithDelay_BroadcastDelay_Call) Return(_a0 time.Time) *ShouldBroadcastWithDelay_BroadcastDelay_Call
- func (_c *ShouldBroadcastWithDelay_BroadcastDelay_Call) Run(run func()) *ShouldBroadcastWithDelay_BroadcastDelay_Call
- func (_c *ShouldBroadcastWithDelay_BroadcastDelay_Call) RunAndReturn(run func() time.Time) *ShouldBroadcastWithDelay_BroadcastDelay_Call
- type ShouldBroadcastWithDelay_Expecter
- type ShouldBroadcastWithQueue
- type ShouldBroadcastWithQueueConnection
- type ShouldBroadcastWithQueueConnection_BroadcastQueueConnection_Call
- func (_c *ShouldBroadcastWithQueueConnection_BroadcastQueueConnection_Call) Return(_a0 string) *ShouldBroadcastWithQueueConnection_BroadcastQueueConnection_Call
- func (_c *ShouldBroadcastWithQueueConnection_BroadcastQueueConnection_Call) Run(run func()) *ShouldBroadcastWithQueueConnection_BroadcastQueueConnection_Call
- func (_c *ShouldBroadcastWithQueueConnection_BroadcastQueueConnection_Call) RunAndReturn(run func() string) *ShouldBroadcastWithQueueConnection_BroadcastQueueConnection_Call
- type ShouldBroadcastWithQueueConnection_Expecter
- type ShouldBroadcastWithQueue_BroadcastQueue_Call
- func (_c *ShouldBroadcastWithQueue_BroadcastQueue_Call) Return(_a0 string) *ShouldBroadcastWithQueue_BroadcastQueue_Call
- func (_c *ShouldBroadcastWithQueue_BroadcastQueue_Call) Run(run func()) *ShouldBroadcastWithQueue_BroadcastQueue_Call
- func (_c *ShouldBroadcastWithQueue_BroadcastQueue_Call) RunAndReturn(run func() string) *ShouldBroadcastWithQueue_BroadcastQueue_Call
- type ShouldBroadcastWithQueue_Expecter
- type ShouldBroadcastWithTimeout
- type ShouldBroadcastWithTimeout_BroadcastTimeout_Call
- func (_c *ShouldBroadcastWithTimeout_BroadcastTimeout_Call) Return(_a0 time.Duration) *ShouldBroadcastWithTimeout_BroadcastTimeout_Call
- func (_c *ShouldBroadcastWithTimeout_BroadcastTimeout_Call) Run(run func()) *ShouldBroadcastWithTimeout_BroadcastTimeout_Call
- func (_c *ShouldBroadcastWithTimeout_BroadcastTimeout_Call) RunAndReturn(run func() time.Duration) *ShouldBroadcastWithTimeout_BroadcastTimeout_Call
- type ShouldBroadcastWithTimeout_Expecter
- type ShouldBroadcastWithTries
- type ShouldBroadcastWithTries_BroadcastTries_Call
- func (_c *ShouldBroadcastWithTries_BroadcastTries_Call) Return(_a0 int) *ShouldBroadcastWithTries_BroadcastTries_Call
- func (_c *ShouldBroadcastWithTries_BroadcastTries_Call) Run(run func()) *ShouldBroadcastWithTries_BroadcastTries_Call
- func (_c *ShouldBroadcastWithTries_BroadcastTries_Call) RunAndReturn(run func() int) *ShouldBroadcastWithTries_BroadcastTries_Call
- type ShouldBroadcastWithTries_Expecter
- type ShouldBroadcast_BroadcastAs_Call
- func (_c *ShouldBroadcast_BroadcastAs_Call) Return(_a0 string) *ShouldBroadcast_BroadcastAs_Call
- func (_c *ShouldBroadcast_BroadcastAs_Call) Run(run func()) *ShouldBroadcast_BroadcastAs_Call
- func (_c *ShouldBroadcast_BroadcastAs_Call) RunAndReturn(run func() string) *ShouldBroadcast_BroadcastAs_Call
- type ShouldBroadcast_BroadcastOn_Call
- func (_c *ShouldBroadcast_BroadcastOn_Call) Return(_a0 []string) *ShouldBroadcast_BroadcastOn_Call
- func (_c *ShouldBroadcast_BroadcastOn_Call) Run(run func()) *ShouldBroadcast_BroadcastOn_Call
- func (_c *ShouldBroadcast_BroadcastOn_Call) RunAndReturn(run func() []string) *ShouldBroadcast_BroadcastOn_Call
- type ShouldBroadcast_BroadcastWhen_Call
- func (_c *ShouldBroadcast_BroadcastWhen_Call) Return(_a0 bool) *ShouldBroadcast_BroadcastWhen_Call
- func (_c *ShouldBroadcast_BroadcastWhen_Call) Run(run func()) *ShouldBroadcast_BroadcastWhen_Call
- func (_c *ShouldBroadcast_BroadcastWhen_Call) RunAndReturn(run func() bool) *ShouldBroadcast_BroadcastWhen_Call
- type ShouldBroadcast_BroadcastWith_Call
- func (_c *ShouldBroadcast_BroadcastWith_Call) Return(_a0 map[string]interface{}) *ShouldBroadcast_BroadcastWith_Call
- func (_c *ShouldBroadcast_BroadcastWith_Call) Run(run func()) *ShouldBroadcast_BroadcastWith_Call
- func (_c *ShouldBroadcast_BroadcastWith_Call) RunAndReturn(run func() map[string]interface{}) *ShouldBroadcast_BroadcastWith_Call
- type ShouldBroadcast_Expecter
- func (_e *ShouldBroadcast_Expecter) BroadcastAs() *ShouldBroadcast_BroadcastAs_Call
- func (_e *ShouldBroadcast_Expecter) BroadcastOn() *ShouldBroadcast_BroadcastOn_Call
- func (_e *ShouldBroadcast_Expecter) BroadcastWhen() *ShouldBroadcast_BroadcastWhen_Call
- func (_e *ShouldBroadcast_Expecter) BroadcastWith() *ShouldBroadcast_BroadcastWith_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broadcast ¶
Broadcast is an autogenerated mock type for the Broadcast type
func NewBroadcast ¶
NewBroadcast creates a new instance of Broadcast. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Broadcast) Channel ¶
func (_m *Broadcast) Channel(pattern string, callback broadcasting.ChannelAuthFunc)
Channel provides a mock function with given fields: pattern, callback
func (*Broadcast) Dispatch ¶
func (_m *Broadcast) Dispatch(ctx context.Context, event broadcasting.ShouldBroadcast) error
Dispatch provides a mock function with given fields: ctx, event
func (*Broadcast) EXPECT ¶
func (_m *Broadcast) EXPECT() *Broadcast_Expecter
type Broadcast_Channel_Call ¶
Broadcast_Channel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Channel'
func (*Broadcast_Channel_Call) Return ¶
func (_c *Broadcast_Channel_Call) Return() *Broadcast_Channel_Call
func (*Broadcast_Channel_Call) Run ¶
func (_c *Broadcast_Channel_Call) Run(run func(pattern string, callback broadcasting.ChannelAuthFunc)) *Broadcast_Channel_Call
func (*Broadcast_Channel_Call) RunAndReturn ¶
func (_c *Broadcast_Channel_Call) RunAndReturn(run func(string, broadcasting.ChannelAuthFunc)) *Broadcast_Channel_Call
type Broadcast_Dispatch_Call ¶
Broadcast_Dispatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Dispatch'
func (*Broadcast_Dispatch_Call) Return ¶
func (_c *Broadcast_Dispatch_Call) Return(_a0 error) *Broadcast_Dispatch_Call
func (*Broadcast_Dispatch_Call) Run ¶
func (_c *Broadcast_Dispatch_Call) Run(run func(ctx context.Context, event broadcasting.ShouldBroadcast)) *Broadcast_Dispatch_Call
func (*Broadcast_Dispatch_Call) RunAndReturn ¶
func (_c *Broadcast_Dispatch_Call) RunAndReturn(run func(context.Context, broadcasting.ShouldBroadcast) error) *Broadcast_Dispatch_Call
type Broadcast_Expecter ¶
type Broadcast_Expecter struct {
// contains filtered or unexported fields
}
func (*Broadcast_Expecter) Channel ¶
func (_e *Broadcast_Expecter) Channel(pattern interface{}, callback interface{}) *Broadcast_Channel_Call
Channel is a helper method to define mock.On call
- pattern string
- callback broadcasting.ChannelAuthFunc
func (*Broadcast_Expecter) Dispatch ¶
func (_e *Broadcast_Expecter) Dispatch(ctx interface{}, event interface{}) *Broadcast_Dispatch_Call
Dispatch is a helper method to define mock.On call
- ctx context.Context
- event broadcasting.ShouldBroadcast
type ChannelAuthFunc ¶
ChannelAuthFunc is an autogenerated mock type for the ChannelAuthFunc type
func NewChannelAuthFunc ¶
func NewChannelAuthFunc(t interface {
mock.TestingT
Cleanup(func())
}) *ChannelAuthFunc
NewChannelAuthFunc creates a new instance of ChannelAuthFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ChannelAuthFunc) EXPECT ¶
func (_m *ChannelAuthFunc) EXPECT() *ChannelAuthFunc_Expecter
type ChannelAuthFunc_Execute_Call ¶
ChannelAuthFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*ChannelAuthFunc_Execute_Call) Return ¶
func (_c *ChannelAuthFunc_Execute_Call) Return(_a0 bool, _a1 interface{}) *ChannelAuthFunc_Execute_Call
func (*ChannelAuthFunc_Execute_Call) Run ¶
func (_c *ChannelAuthFunc_Execute_Call) Run(run func(ctx context.Context, userID interface{}, channelName string, params map[string]string)) *ChannelAuthFunc_Execute_Call
func (*ChannelAuthFunc_Execute_Call) RunAndReturn ¶
func (_c *ChannelAuthFunc_Execute_Call) RunAndReturn(run func(context.Context, interface{}, string, map[string]string) (bool, interface{})) *ChannelAuthFunc_Execute_Call
type ChannelAuthFunc_Expecter ¶
type ChannelAuthFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*ChannelAuthFunc_Expecter) Execute ¶
func (_e *ChannelAuthFunc_Expecter) Execute(ctx interface{}, userID interface{}, channelName interface{}, params interface{}) *ChannelAuthFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- userID interface{}
- channelName string
- params map[string]string
type Driver ¶
Driver is an autogenerated mock type for the Driver type
func NewDriver ¶
NewDriver creates a new instance of Driver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Driver) Broadcast ¶
func (_m *Driver) Broadcast(ctx context.Context, channels []string, event string, payload map[string]interface{}) error
Broadcast provides a mock function with given fields: ctx, channels, event, payload
func (*Driver) EXPECT ¶
func (_m *Driver) EXPECT() *Driver_Expecter
type Driver_Broadcast_Call ¶
Driver_Broadcast_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Broadcast'
func (*Driver_Broadcast_Call) Return ¶
func (_c *Driver_Broadcast_Call) Return(_a0 error) *Driver_Broadcast_Call
func (*Driver_Broadcast_Call) Run ¶
func (_c *Driver_Broadcast_Call) Run(run func(ctx context.Context, channels []string, event string, payload map[string]interface{})) *Driver_Broadcast_Call
func (*Driver_Broadcast_Call) RunAndReturn ¶
func (_c *Driver_Broadcast_Call) RunAndReturn(run func(context.Context, []string, string, map[string]interface{}) error) *Driver_Broadcast_Call
type Driver_Expecter ¶
type Driver_Expecter struct {
// contains filtered or unexported fields
}
func (*Driver_Expecter) Broadcast ¶
func (_e *Driver_Expecter) Broadcast(ctx interface{}, channels interface{}, event interface{}, payload interface{}) *Driver_Broadcast_Call
Broadcast is a helper method to define mock.On call
- ctx context.Context
- channels []string
- event string
- payload map[string]interface{}
type ShouldBroadcast ¶
ShouldBroadcast is an autogenerated mock type for the ShouldBroadcast type
func NewShouldBroadcast ¶
func NewShouldBroadcast(t interface {
mock.TestingT
Cleanup(func())
}) *ShouldBroadcast
NewShouldBroadcast creates a new instance of ShouldBroadcast. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ShouldBroadcast) BroadcastAs ¶
func (_m *ShouldBroadcast) BroadcastAs() string
BroadcastAs provides a mock function with no fields
func (*ShouldBroadcast) BroadcastOn ¶
func (_m *ShouldBroadcast) BroadcastOn() []string
BroadcastOn provides a mock function with no fields
func (*ShouldBroadcast) BroadcastWhen ¶
func (_m *ShouldBroadcast) BroadcastWhen() bool
BroadcastWhen provides a mock function with no fields
func (*ShouldBroadcast) BroadcastWith ¶
func (_m *ShouldBroadcast) BroadcastWith() map[string]interface{}
BroadcastWith provides a mock function with no fields
func (*ShouldBroadcast) EXPECT ¶
func (_m *ShouldBroadcast) EXPECT() *ShouldBroadcast_Expecter
type ShouldBroadcastNow ¶
ShouldBroadcastNow is an autogenerated mock type for the ShouldBroadcastNow type
func NewShouldBroadcastNow ¶
func NewShouldBroadcastNow(t interface {
mock.TestingT
Cleanup(func())
}) *ShouldBroadcastNow
NewShouldBroadcastNow creates a new instance of ShouldBroadcastNow. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ShouldBroadcastNow) BroadcastNow ¶
func (_m *ShouldBroadcastNow) BroadcastNow() bool
BroadcastNow provides a mock function with no fields
func (*ShouldBroadcastNow) EXPECT ¶
func (_m *ShouldBroadcastNow) EXPECT() *ShouldBroadcastNow_Expecter
type ShouldBroadcastNow_BroadcastNow_Call ¶
ShouldBroadcastNow_BroadcastNow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastNow'
func (*ShouldBroadcastNow_BroadcastNow_Call) Return ¶
func (_c *ShouldBroadcastNow_BroadcastNow_Call) Return(_a0 bool) *ShouldBroadcastNow_BroadcastNow_Call
func (*ShouldBroadcastNow_BroadcastNow_Call) Run ¶
func (_c *ShouldBroadcastNow_BroadcastNow_Call) Run(run func()) *ShouldBroadcastNow_BroadcastNow_Call
func (*ShouldBroadcastNow_BroadcastNow_Call) RunAndReturn ¶
func (_c *ShouldBroadcastNow_BroadcastNow_Call) RunAndReturn(run func() bool) *ShouldBroadcastNow_BroadcastNow_Call
type ShouldBroadcastNow_Expecter ¶
type ShouldBroadcastNow_Expecter struct {
// contains filtered or unexported fields
}
func (*ShouldBroadcastNow_Expecter) BroadcastNow ¶
func (_e *ShouldBroadcastNow_Expecter) BroadcastNow() *ShouldBroadcastNow_BroadcastNow_Call
BroadcastNow is a helper method to define mock.On call
type ShouldBroadcastWithBackoff ¶
ShouldBroadcastWithBackoff is an autogenerated mock type for the ShouldBroadcastWithBackoff type
func NewShouldBroadcastWithBackoff ¶
func NewShouldBroadcastWithBackoff(t interface {
mock.TestingT
Cleanup(func())
}) *ShouldBroadcastWithBackoff
NewShouldBroadcastWithBackoff creates a new instance of ShouldBroadcastWithBackoff. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ShouldBroadcastWithBackoff) BroadcastBackoff ¶
func (_m *ShouldBroadcastWithBackoff) BroadcastBackoff() []time.Duration
BroadcastBackoff provides a mock function with no fields
func (*ShouldBroadcastWithBackoff) EXPECT ¶
func (_m *ShouldBroadcastWithBackoff) EXPECT() *ShouldBroadcastWithBackoff_Expecter
type ShouldBroadcastWithBackoff_BroadcastBackoff_Call ¶
ShouldBroadcastWithBackoff_BroadcastBackoff_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastBackoff'
func (*ShouldBroadcastWithBackoff_BroadcastBackoff_Call) Return ¶
func (_c *ShouldBroadcastWithBackoff_BroadcastBackoff_Call) Return(_a0 []time.Duration) *ShouldBroadcastWithBackoff_BroadcastBackoff_Call
func (*ShouldBroadcastWithBackoff_BroadcastBackoff_Call) Run ¶
func (_c *ShouldBroadcastWithBackoff_BroadcastBackoff_Call) Run(run func()) *ShouldBroadcastWithBackoff_BroadcastBackoff_Call
func (*ShouldBroadcastWithBackoff_BroadcastBackoff_Call) RunAndReturn ¶
func (_c *ShouldBroadcastWithBackoff_BroadcastBackoff_Call) RunAndReturn(run func() []time.Duration) *ShouldBroadcastWithBackoff_BroadcastBackoff_Call
type ShouldBroadcastWithBackoff_Expecter ¶
type ShouldBroadcastWithBackoff_Expecter struct {
// contains filtered or unexported fields
}
func (*ShouldBroadcastWithBackoff_Expecter) BroadcastBackoff ¶
func (_e *ShouldBroadcastWithBackoff_Expecter) BroadcastBackoff() *ShouldBroadcastWithBackoff_BroadcastBackoff_Call
BroadcastBackoff is a helper method to define mock.On call
type ShouldBroadcastWithConnections ¶
ShouldBroadcastWithConnections is an autogenerated mock type for the ShouldBroadcastWithConnections type
func NewShouldBroadcastWithConnections ¶
func NewShouldBroadcastWithConnections(t interface {
mock.TestingT
Cleanup(func())
}) *ShouldBroadcastWithConnections
NewShouldBroadcastWithConnections creates a new instance of ShouldBroadcastWithConnections. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ShouldBroadcastWithConnections) BroadcastConnections ¶
func (_m *ShouldBroadcastWithConnections) BroadcastConnections() []string
BroadcastConnections provides a mock function with no fields
func (*ShouldBroadcastWithConnections) EXPECT ¶
func (_m *ShouldBroadcastWithConnections) EXPECT() *ShouldBroadcastWithConnections_Expecter
type ShouldBroadcastWithConnections_BroadcastConnections_Call ¶
ShouldBroadcastWithConnections_BroadcastConnections_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastConnections'
func (*ShouldBroadcastWithConnections_BroadcastConnections_Call) Run ¶
func (_c *ShouldBroadcastWithConnections_BroadcastConnections_Call) Run(run func()) *ShouldBroadcastWithConnections_BroadcastConnections_Call
func (*ShouldBroadcastWithConnections_BroadcastConnections_Call) RunAndReturn ¶
func (_c *ShouldBroadcastWithConnections_BroadcastConnections_Call) RunAndReturn(run func() []string) *ShouldBroadcastWithConnections_BroadcastConnections_Call
type ShouldBroadcastWithConnections_Expecter ¶
type ShouldBroadcastWithConnections_Expecter struct {
// contains filtered or unexported fields
}
func (*ShouldBroadcastWithConnections_Expecter) BroadcastConnections ¶
func (_e *ShouldBroadcastWithConnections_Expecter) BroadcastConnections() *ShouldBroadcastWithConnections_BroadcastConnections_Call
BroadcastConnections is a helper method to define mock.On call
type ShouldBroadcastWithDelay ¶
ShouldBroadcastWithDelay is an autogenerated mock type for the ShouldBroadcastWithDelay type
func NewShouldBroadcastWithDelay ¶
func NewShouldBroadcastWithDelay(t interface {
mock.TestingT
Cleanup(func())
}) *ShouldBroadcastWithDelay
NewShouldBroadcastWithDelay creates a new instance of ShouldBroadcastWithDelay. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ShouldBroadcastWithDelay) BroadcastDelay ¶
func (_m *ShouldBroadcastWithDelay) BroadcastDelay() time.Time
BroadcastDelay provides a mock function with no fields
func (*ShouldBroadcastWithDelay) EXPECT ¶
func (_m *ShouldBroadcastWithDelay) EXPECT() *ShouldBroadcastWithDelay_Expecter
type ShouldBroadcastWithDelay_BroadcastDelay_Call ¶
ShouldBroadcastWithDelay_BroadcastDelay_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastDelay'
func (*ShouldBroadcastWithDelay_BroadcastDelay_Call) Return ¶
func (_c *ShouldBroadcastWithDelay_BroadcastDelay_Call) Return(_a0 time.Time) *ShouldBroadcastWithDelay_BroadcastDelay_Call
func (*ShouldBroadcastWithDelay_BroadcastDelay_Call) Run ¶
func (_c *ShouldBroadcastWithDelay_BroadcastDelay_Call) Run(run func()) *ShouldBroadcastWithDelay_BroadcastDelay_Call
func (*ShouldBroadcastWithDelay_BroadcastDelay_Call) RunAndReturn ¶
func (_c *ShouldBroadcastWithDelay_BroadcastDelay_Call) RunAndReturn(run func() time.Time) *ShouldBroadcastWithDelay_BroadcastDelay_Call
type ShouldBroadcastWithDelay_Expecter ¶
type ShouldBroadcastWithDelay_Expecter struct {
// contains filtered or unexported fields
}
func (*ShouldBroadcastWithDelay_Expecter) BroadcastDelay ¶
func (_e *ShouldBroadcastWithDelay_Expecter) BroadcastDelay() *ShouldBroadcastWithDelay_BroadcastDelay_Call
BroadcastDelay is a helper method to define mock.On call
type ShouldBroadcastWithQueue ¶
ShouldBroadcastWithQueue is an autogenerated mock type for the ShouldBroadcastWithQueue type
func NewShouldBroadcastWithQueue ¶
func NewShouldBroadcastWithQueue(t interface {
mock.TestingT
Cleanup(func())
}) *ShouldBroadcastWithQueue
NewShouldBroadcastWithQueue creates a new instance of ShouldBroadcastWithQueue. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ShouldBroadcastWithQueue) BroadcastQueue ¶
func (_m *ShouldBroadcastWithQueue) BroadcastQueue() string
BroadcastQueue provides a mock function with no fields
func (*ShouldBroadcastWithQueue) EXPECT ¶
func (_m *ShouldBroadcastWithQueue) EXPECT() *ShouldBroadcastWithQueue_Expecter
type ShouldBroadcastWithQueueConnection ¶
ShouldBroadcastWithQueueConnection is an autogenerated mock type for the ShouldBroadcastWithQueueConnection type
func NewShouldBroadcastWithQueueConnection ¶
func NewShouldBroadcastWithQueueConnection(t interface {
mock.TestingT
Cleanup(func())
}) *ShouldBroadcastWithQueueConnection
NewShouldBroadcastWithQueueConnection creates a new instance of ShouldBroadcastWithQueueConnection. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ShouldBroadcastWithQueueConnection) BroadcastQueueConnection ¶
func (_m *ShouldBroadcastWithQueueConnection) BroadcastQueueConnection() string
BroadcastQueueConnection provides a mock function with no fields
func (*ShouldBroadcastWithQueueConnection) EXPECT ¶
func (_m *ShouldBroadcastWithQueueConnection) EXPECT() *ShouldBroadcastWithQueueConnection_Expecter
type ShouldBroadcastWithQueueConnection_BroadcastQueueConnection_Call ¶
ShouldBroadcastWithQueueConnection_BroadcastQueueConnection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastQueueConnection'
func (*ShouldBroadcastWithQueueConnection_BroadcastQueueConnection_Call) RunAndReturn ¶
func (_c *ShouldBroadcastWithQueueConnection_BroadcastQueueConnection_Call) RunAndReturn(run func() string) *ShouldBroadcastWithQueueConnection_BroadcastQueueConnection_Call
type ShouldBroadcastWithQueueConnection_Expecter ¶
type ShouldBroadcastWithQueueConnection_Expecter struct {
// contains filtered or unexported fields
}
func (*ShouldBroadcastWithQueueConnection_Expecter) BroadcastQueueConnection ¶
func (_e *ShouldBroadcastWithQueueConnection_Expecter) BroadcastQueueConnection() *ShouldBroadcastWithQueueConnection_BroadcastQueueConnection_Call
BroadcastQueueConnection is a helper method to define mock.On call
type ShouldBroadcastWithQueue_BroadcastQueue_Call ¶
ShouldBroadcastWithQueue_BroadcastQueue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastQueue'
func (*ShouldBroadcastWithQueue_BroadcastQueue_Call) Return ¶
func (_c *ShouldBroadcastWithQueue_BroadcastQueue_Call) Return(_a0 string) *ShouldBroadcastWithQueue_BroadcastQueue_Call
func (*ShouldBroadcastWithQueue_BroadcastQueue_Call) Run ¶
func (_c *ShouldBroadcastWithQueue_BroadcastQueue_Call) Run(run func()) *ShouldBroadcastWithQueue_BroadcastQueue_Call
func (*ShouldBroadcastWithQueue_BroadcastQueue_Call) RunAndReturn ¶
func (_c *ShouldBroadcastWithQueue_BroadcastQueue_Call) RunAndReturn(run func() string) *ShouldBroadcastWithQueue_BroadcastQueue_Call
type ShouldBroadcastWithQueue_Expecter ¶
type ShouldBroadcastWithQueue_Expecter struct {
// contains filtered or unexported fields
}
func (*ShouldBroadcastWithQueue_Expecter) BroadcastQueue ¶
func (_e *ShouldBroadcastWithQueue_Expecter) BroadcastQueue() *ShouldBroadcastWithQueue_BroadcastQueue_Call
BroadcastQueue is a helper method to define mock.On call
type ShouldBroadcastWithTimeout ¶
ShouldBroadcastWithTimeout is an autogenerated mock type for the ShouldBroadcastWithTimeout type
func NewShouldBroadcastWithTimeout ¶
func NewShouldBroadcastWithTimeout(t interface {
mock.TestingT
Cleanup(func())
}) *ShouldBroadcastWithTimeout
NewShouldBroadcastWithTimeout creates a new instance of ShouldBroadcastWithTimeout. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ShouldBroadcastWithTimeout) BroadcastTimeout ¶
func (_m *ShouldBroadcastWithTimeout) BroadcastTimeout() time.Duration
BroadcastTimeout provides a mock function with no fields
func (*ShouldBroadcastWithTimeout) EXPECT ¶
func (_m *ShouldBroadcastWithTimeout) EXPECT() *ShouldBroadcastWithTimeout_Expecter
type ShouldBroadcastWithTimeout_BroadcastTimeout_Call ¶
ShouldBroadcastWithTimeout_BroadcastTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTimeout'
func (*ShouldBroadcastWithTimeout_BroadcastTimeout_Call) Return ¶
func (_c *ShouldBroadcastWithTimeout_BroadcastTimeout_Call) Return(_a0 time.Duration) *ShouldBroadcastWithTimeout_BroadcastTimeout_Call
func (*ShouldBroadcastWithTimeout_BroadcastTimeout_Call) Run ¶
func (_c *ShouldBroadcastWithTimeout_BroadcastTimeout_Call) Run(run func()) *ShouldBroadcastWithTimeout_BroadcastTimeout_Call
func (*ShouldBroadcastWithTimeout_BroadcastTimeout_Call) RunAndReturn ¶
func (_c *ShouldBroadcastWithTimeout_BroadcastTimeout_Call) RunAndReturn(run func() time.Duration) *ShouldBroadcastWithTimeout_BroadcastTimeout_Call
type ShouldBroadcastWithTimeout_Expecter ¶
type ShouldBroadcastWithTimeout_Expecter struct {
// contains filtered or unexported fields
}
func (*ShouldBroadcastWithTimeout_Expecter) BroadcastTimeout ¶
func (_e *ShouldBroadcastWithTimeout_Expecter) BroadcastTimeout() *ShouldBroadcastWithTimeout_BroadcastTimeout_Call
BroadcastTimeout is a helper method to define mock.On call
type ShouldBroadcastWithTries ¶
ShouldBroadcastWithTries is an autogenerated mock type for the ShouldBroadcastWithTries type
func NewShouldBroadcastWithTries ¶
func NewShouldBroadcastWithTries(t interface {
mock.TestingT
Cleanup(func())
}) *ShouldBroadcastWithTries
NewShouldBroadcastWithTries creates a new instance of ShouldBroadcastWithTries. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ShouldBroadcastWithTries) BroadcastTries ¶
func (_m *ShouldBroadcastWithTries) BroadcastTries() int
BroadcastTries provides a mock function with no fields
func (*ShouldBroadcastWithTries) EXPECT ¶
func (_m *ShouldBroadcastWithTries) EXPECT() *ShouldBroadcastWithTries_Expecter
type ShouldBroadcastWithTries_BroadcastTries_Call ¶
ShouldBroadcastWithTries_BroadcastTries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTries'
func (*ShouldBroadcastWithTries_BroadcastTries_Call) Return ¶
func (_c *ShouldBroadcastWithTries_BroadcastTries_Call) Return(_a0 int) *ShouldBroadcastWithTries_BroadcastTries_Call
func (*ShouldBroadcastWithTries_BroadcastTries_Call) Run ¶
func (_c *ShouldBroadcastWithTries_BroadcastTries_Call) Run(run func()) *ShouldBroadcastWithTries_BroadcastTries_Call
func (*ShouldBroadcastWithTries_BroadcastTries_Call) RunAndReturn ¶
func (_c *ShouldBroadcastWithTries_BroadcastTries_Call) RunAndReturn(run func() int) *ShouldBroadcastWithTries_BroadcastTries_Call
type ShouldBroadcastWithTries_Expecter ¶
type ShouldBroadcastWithTries_Expecter struct {
// contains filtered or unexported fields
}
func (*ShouldBroadcastWithTries_Expecter) BroadcastTries ¶
func (_e *ShouldBroadcastWithTries_Expecter) BroadcastTries() *ShouldBroadcastWithTries_BroadcastTries_Call
BroadcastTries is a helper method to define mock.On call
type ShouldBroadcast_BroadcastAs_Call ¶
ShouldBroadcast_BroadcastAs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastAs'
func (*ShouldBroadcast_BroadcastAs_Call) Return ¶
func (_c *ShouldBroadcast_BroadcastAs_Call) Return(_a0 string) *ShouldBroadcast_BroadcastAs_Call
func (*ShouldBroadcast_BroadcastAs_Call) Run ¶
func (_c *ShouldBroadcast_BroadcastAs_Call) Run(run func()) *ShouldBroadcast_BroadcastAs_Call
func (*ShouldBroadcast_BroadcastAs_Call) RunAndReturn ¶
func (_c *ShouldBroadcast_BroadcastAs_Call) RunAndReturn(run func() string) *ShouldBroadcast_BroadcastAs_Call
type ShouldBroadcast_BroadcastOn_Call ¶
ShouldBroadcast_BroadcastOn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastOn'
func (*ShouldBroadcast_BroadcastOn_Call) Return ¶
func (_c *ShouldBroadcast_BroadcastOn_Call) Return(_a0 []string) *ShouldBroadcast_BroadcastOn_Call
func (*ShouldBroadcast_BroadcastOn_Call) Run ¶
func (_c *ShouldBroadcast_BroadcastOn_Call) Run(run func()) *ShouldBroadcast_BroadcastOn_Call
func (*ShouldBroadcast_BroadcastOn_Call) RunAndReturn ¶
func (_c *ShouldBroadcast_BroadcastOn_Call) RunAndReturn(run func() []string) *ShouldBroadcast_BroadcastOn_Call
type ShouldBroadcast_BroadcastWhen_Call ¶
ShouldBroadcast_BroadcastWhen_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastWhen'
func (*ShouldBroadcast_BroadcastWhen_Call) Return ¶
func (_c *ShouldBroadcast_BroadcastWhen_Call) Return(_a0 bool) *ShouldBroadcast_BroadcastWhen_Call
func (*ShouldBroadcast_BroadcastWhen_Call) Run ¶
func (_c *ShouldBroadcast_BroadcastWhen_Call) Run(run func()) *ShouldBroadcast_BroadcastWhen_Call
func (*ShouldBroadcast_BroadcastWhen_Call) RunAndReturn ¶
func (_c *ShouldBroadcast_BroadcastWhen_Call) RunAndReturn(run func() bool) *ShouldBroadcast_BroadcastWhen_Call
type ShouldBroadcast_BroadcastWith_Call ¶
ShouldBroadcast_BroadcastWith_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastWith'
func (*ShouldBroadcast_BroadcastWith_Call) Return ¶
func (_c *ShouldBroadcast_BroadcastWith_Call) Return(_a0 map[string]interface{}) *ShouldBroadcast_BroadcastWith_Call
func (*ShouldBroadcast_BroadcastWith_Call) Run ¶
func (_c *ShouldBroadcast_BroadcastWith_Call) Run(run func()) *ShouldBroadcast_BroadcastWith_Call
func (*ShouldBroadcast_BroadcastWith_Call) RunAndReturn ¶
func (_c *ShouldBroadcast_BroadcastWith_Call) RunAndReturn(run func() map[string]interface{}) *ShouldBroadcast_BroadcastWith_Call
type ShouldBroadcast_Expecter ¶
type ShouldBroadcast_Expecter struct {
// contains filtered or unexported fields
}
func (*ShouldBroadcast_Expecter) BroadcastAs ¶
func (_e *ShouldBroadcast_Expecter) BroadcastAs() *ShouldBroadcast_BroadcastAs_Call
BroadcastAs is a helper method to define mock.On call
func (*ShouldBroadcast_Expecter) BroadcastOn ¶
func (_e *ShouldBroadcast_Expecter) BroadcastOn() *ShouldBroadcast_BroadcastOn_Call
BroadcastOn is a helper method to define mock.On call
func (*ShouldBroadcast_Expecter) BroadcastWhen ¶
func (_e *ShouldBroadcast_Expecter) BroadcastWhen() *ShouldBroadcast_BroadcastWhen_Call
BroadcastWhen is a helper method to define mock.On call
func (*ShouldBroadcast_Expecter) BroadcastWith ¶
func (_e *ShouldBroadcast_Expecter) BroadcastWith() *ShouldBroadcast_BroadcastWith_Call
BroadcastWith is a helper method to define mock.On call