Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeConnection
- func (fake *FakeConnection) Close(arg1 context.Context) error
- func (fake *FakeConnection) CloseArgsForCall(i int) context.Context
- func (fake *FakeConnection) CloseCallCount() int
- func (fake *FakeConnection) CloseCalls(stub func(context.Context) error)
- func (fake *FakeConnection) CloseReturns(result1 error)
- func (fake *FakeConnection) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeConnection) Invocations() map[string][][]interface{}
- func (fake *FakeConnection) Receive(arg1 context.Context) ([]byte, error)
- func (fake *FakeConnection) ReceiveArgsForCall(i int) context.Context
- func (fake *FakeConnection) ReceiveCallCount() int
- func (fake *FakeConnection) ReceiveCalls(stub func(context.Context) ([]byte, error))
- func (fake *FakeConnection) ReceiveReturns(result1 []byte, result2 error)
- func (fake *FakeConnection) ReceiveReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeConnection) Send(arg1 context.Context, arg2 interface{}) error
- func (fake *FakeConnection) SendArgsForCall(i int) (context.Context, interface{})
- func (fake *FakeConnection) SendCallCount() int
- func (fake *FakeConnection) SendCalls(stub func(context.Context, interface{}) error)
- func (fake *FakeConnection) SendReturns(result1 error)
- func (fake *FakeConnection) SendReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConnection ¶
type FakeConnection struct { CloseStub func(context.Context) error ReceiveStub func(context.Context) ([]byte, error) SendStub func(context.Context, interface{}) error // contains filtered or unexported fields }
func (*FakeConnection) CloseArgsForCall ¶
func (fake *FakeConnection) CloseArgsForCall(i int) context.Context
func (*FakeConnection) CloseCallCount ¶
func (fake *FakeConnection) CloseCallCount() int
func (*FakeConnection) CloseCalls ¶
func (fake *FakeConnection) CloseCalls(stub func(context.Context) error)
func (*FakeConnection) CloseReturns ¶
func (fake *FakeConnection) CloseReturns(result1 error)
func (*FakeConnection) CloseReturnsOnCall ¶
func (fake *FakeConnection) CloseReturnsOnCall(i int, result1 error)
func (*FakeConnection) Invocations ¶
func (fake *FakeConnection) Invocations() map[string][][]interface{}
func (*FakeConnection) Receive ¶
func (fake *FakeConnection) Receive(arg1 context.Context) ([]byte, error)
func (*FakeConnection) ReceiveArgsForCall ¶
func (fake *FakeConnection) ReceiveArgsForCall(i int) context.Context
func (*FakeConnection) ReceiveCallCount ¶
func (fake *FakeConnection) ReceiveCallCount() int
func (*FakeConnection) ReceiveCalls ¶
func (fake *FakeConnection) ReceiveCalls(stub func(context.Context) ([]byte, error))
func (*FakeConnection) ReceiveReturns ¶
func (fake *FakeConnection) ReceiveReturns(result1 []byte, result2 error)
func (*FakeConnection) ReceiveReturnsOnCall ¶
func (fake *FakeConnection) ReceiveReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeConnection) Send ¶
func (fake *FakeConnection) Send(arg1 context.Context, arg2 interface{}) error
func (*FakeConnection) SendArgsForCall ¶
func (fake *FakeConnection) SendArgsForCall(i int) (context.Context, interface{})
func (*FakeConnection) SendCallCount ¶
func (fake *FakeConnection) SendCallCount() int
func (*FakeConnection) SendCalls ¶
func (fake *FakeConnection) SendCalls(stub func(context.Context, interface{}) error)
func (*FakeConnection) SendReturns ¶
func (fake *FakeConnection) SendReturns(result1 error)
func (*FakeConnection) SendReturnsOnCall ¶
func (fake *FakeConnection) SendReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.