connectfakes

package
v1.0.0-rc.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

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) Close

func (fake *FakeConnection) Close(arg1 context.Context) error

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL