Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeHub
- func (fake *FakeHub) Close() error
- func (fake *FakeHub) CloseCallCount() int
- func (fake *FakeHub) CloseReturns(result1 error)
- func (fake *FakeHub) Emit(arg1 receptor.Event)
- func (fake *FakeHub) EmitArgsForCall(i int) receptor.Event
- func (fake *FakeHub) EmitCallCount() int
- func (fake *FakeHub) RegisterCallback(arg1 func(count int))
- func (fake *FakeHub) RegisterCallbackArgsForCall(i int) func(count int)
- func (fake *FakeHub) RegisterCallbackCallCount() int
- func (fake *FakeHub) Subscribe() (receptor.EventSource, error)
- func (fake *FakeHub) SubscribeCallCount() int
- func (fake *FakeHub) SubscribeReturns(result1 receptor.EventSource, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeHub ¶
type FakeHub struct { SubscribeStub func() (receptor.EventSource, error) EmitStub func(receptor.Event) CloseStub func() error RegisterCallbackStub func(func(count int)) // contains filtered or unexported fields }
func (*FakeHub) CloseCallCount ¶
func (*FakeHub) CloseReturns ¶
func (*FakeHub) EmitCallCount ¶
func (*FakeHub) RegisterCallback ¶
func (*FakeHub) RegisterCallbackArgsForCall ¶
func (*FakeHub) RegisterCallbackCallCount ¶
func (*FakeHub) SubscribeCallCount ¶
func (*FakeHub) SubscribeReturns ¶
func (fake *FakeHub) SubscribeReturns(result1 receptor.EventSource, result2 error)
Click to show internal directories.
Click to hide internal directories.