Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClient
- func (fake *FakeClient) CallOrder() []string
- func (fake *FakeClient) Deliver(arg1 []byte)
- func (fake *FakeClient) DeliverArgs() []FakeClientDeliverArgs
- func (fake *FakeClient) DeliverArgsForCall(i int) []byte
- func (fake *FakeClient) DeliverCallCount() int
- func (fake *FakeClient) DeliverCalls(stub func([]byte))
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- type FakeClientDeliverArgs
- type FakeThreadRouter
- func (fake *FakeThreadRouter) CallOrder() []string
- func (fake *FakeThreadRouter) Detach(arg1 domain.Client)
- func (fake *FakeThreadRouter) DetachArgs() []FakeThreadRouterDetachArgs
- func (fake *FakeThreadRouter) DetachArgsForCall(i int) domain.Client
- func (fake *FakeThreadRouter) DetachCallCount() int
- func (fake *FakeThreadRouter) DetachCalls(stub func(domain.Client))
- func (fake *FakeThreadRouter) Handle(arg1 domain.Client, arg2 []byte)
- func (fake *FakeThreadRouter) HandleArgs() []FakeThreadRouterHandleArgs
- func (fake *FakeThreadRouter) HandleArgsForCall(i int) (domain.Client, []byte)
- func (fake *FakeThreadRouter) HandleCallCount() int
- func (fake *FakeThreadRouter) HandleCalls(stub func(domain.Client, []byte))
- func (fake *FakeThreadRouter) Invocations() map[string][][]interface{}
- type FakeThreadRouterDetachArgs
- type FakeThreadRouterHandleArgs
- type FakeWorker
- func (fake *FakeWorker) CallOrder() []string
- func (fake *FakeWorker) Invocations() map[string][][]interface{}
- func (fake *FakeWorker) Lines() <-chan []byte
- func (fake *FakeWorker) LinesCallCount() int
- func (fake *FakeWorker) LinesCalls(stub func() <-chan []byte)
- func (fake *FakeWorker) LinesReturns(result1 <-chan []byte)
- func (fake *FakeWorker) LinesReturnsOnCall(i int, result1 <-chan []byte)
- func (fake *FakeWorker) Send(arg1 []byte) error
- func (fake *FakeWorker) SendArgs() []FakeWorkerSendArgs
- func (fake *FakeWorker) SendArgsForCall(i int) []byte
- func (fake *FakeWorker) SendCallCount() int
- func (fake *FakeWorker) SendCalls(stub func([]byte) error)
- func (fake *FakeWorker) SendReturns(result1 error)
- func (fake *FakeWorker) SendReturnsOnCall(i int, result1 error)
- func (fake *FakeWorker) Stop()
- func (fake *FakeWorker) StopCallCount() int
- func (fake *FakeWorker) StopCalls(stub func())
- type FakeWorkerSendArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct {
DeliverStub func([]byte)
// contains filtered or unexported fields
}
func (*FakeClient) CallOrder ¶ added in v0.246.1
func (fake *FakeClient) CallOrder() []string
func (*FakeClient) Deliver ¶
func (fake *FakeClient) Deliver(arg1 []byte)
func (*FakeClient) DeliverArgs ¶ added in v0.246.1
func (fake *FakeClient) DeliverArgs() []FakeClientDeliverArgs
func (*FakeClient) DeliverArgsForCall ¶
func (fake *FakeClient) DeliverArgsForCall(i int) []byte
func (*FakeClient) DeliverCallCount ¶
func (fake *FakeClient) DeliverCallCount() int
func (*FakeClient) DeliverCalls ¶
func (fake *FakeClient) DeliverCalls(stub func([]byte))
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
type FakeClientDeliverArgs ¶ added in v0.246.1
type FakeClientDeliverArgs struct {
Arg1 []byte
}
FakeClientDeliverArgs holds the arguments of one call to Deliver.
type FakeThreadRouter ¶
type FakeThreadRouter struct {
DetachStub func(domain.Client)
HandleStub func(domain.Client, []byte)
// contains filtered or unexported fields
}
func (*FakeThreadRouter) CallOrder ¶ added in v0.246.1
func (fake *FakeThreadRouter) CallOrder() []string
func (*FakeThreadRouter) Detach ¶
func (fake *FakeThreadRouter) Detach(arg1 domain.Client)
func (*FakeThreadRouter) DetachArgs ¶ added in v0.246.1
func (fake *FakeThreadRouter) DetachArgs() []FakeThreadRouterDetachArgs
func (*FakeThreadRouter) DetachArgsForCall ¶
func (fake *FakeThreadRouter) DetachArgsForCall(i int) domain.Client
func (*FakeThreadRouter) DetachCallCount ¶
func (fake *FakeThreadRouter) DetachCallCount() int
func (*FakeThreadRouter) DetachCalls ¶
func (fake *FakeThreadRouter) DetachCalls(stub func(domain.Client))
func (*FakeThreadRouter) Handle ¶
func (fake *FakeThreadRouter) Handle(arg1 domain.Client, arg2 []byte)
func (*FakeThreadRouter) HandleArgs ¶ added in v0.246.1
func (fake *FakeThreadRouter) HandleArgs() []FakeThreadRouterHandleArgs
func (*FakeThreadRouter) HandleArgsForCall ¶
func (fake *FakeThreadRouter) HandleArgsForCall(i int) (domain.Client, []byte)
func (*FakeThreadRouter) HandleCallCount ¶
func (fake *FakeThreadRouter) HandleCallCount() int
func (*FakeThreadRouter) HandleCalls ¶
func (fake *FakeThreadRouter) HandleCalls(stub func(domain.Client, []byte))
func (*FakeThreadRouter) Invocations ¶
func (fake *FakeThreadRouter) Invocations() map[string][][]interface{}
type FakeThreadRouterDetachArgs ¶ added in v0.246.1
FakeThreadRouterDetachArgs holds the arguments of one call to Detach.
type FakeThreadRouterHandleArgs ¶ added in v0.246.1
FakeThreadRouterHandleArgs holds the arguments of one call to Handle.
type FakeWorker ¶
type FakeWorker struct {
LinesStub func() <-chan []byte
SendStub func([]byte) error
StopStub func()
// contains filtered or unexported fields
}
func (*FakeWorker) CallOrder ¶ added in v0.246.1
func (fake *FakeWorker) CallOrder() []string
func (*FakeWorker) Invocations ¶
func (fake *FakeWorker) Invocations() map[string][][]interface{}
func (*FakeWorker) Lines ¶
func (fake *FakeWorker) Lines() <-chan []byte
func (*FakeWorker) LinesCallCount ¶
func (fake *FakeWorker) LinesCallCount() int
func (*FakeWorker) LinesCalls ¶
func (fake *FakeWorker) LinesCalls(stub func() <-chan []byte)
func (*FakeWorker) LinesReturns ¶
func (fake *FakeWorker) LinesReturns(result1 <-chan []byte)
func (*FakeWorker) LinesReturnsOnCall ¶
func (fake *FakeWorker) LinesReturnsOnCall(i int, result1 <-chan []byte)
func (*FakeWorker) Send ¶
func (fake *FakeWorker) Send(arg1 []byte) error
func (*FakeWorker) SendArgs ¶ added in v0.246.1
func (fake *FakeWorker) SendArgs() []FakeWorkerSendArgs
func (*FakeWorker) SendArgsForCall ¶
func (fake *FakeWorker) SendArgsForCall(i int) []byte
func (*FakeWorker) SendCallCount ¶
func (fake *FakeWorker) SendCallCount() int
func (*FakeWorker) SendCalls ¶
func (fake *FakeWorker) SendCalls(stub func([]byte) error)
func (*FakeWorker) SendReturns ¶
func (fake *FakeWorker) SendReturns(result1 error)
func (*FakeWorker) SendReturnsOnCall ¶
func (fake *FakeWorker) SendReturnsOnCall(i int, result1 error)
func (*FakeWorker) Stop ¶
func (fake *FakeWorker) Stop()
func (*FakeWorker) StopCallCount ¶
func (fake *FakeWorker) StopCallCount() int
func (*FakeWorker) StopCalls ¶
func (fake *FakeWorker) StopCalls(stub func())
type FakeWorkerSendArgs ¶ added in v0.246.1
type FakeWorkerSendArgs struct {
Arg1 []byte
}
FakeWorkerSendArgs holds the arguments of one call to Send.
Click to show internal directories.
Click to hide internal directories.