mocks

package
v0.0.0-...-0aa8592 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransportInterface

type TransportInterface struct {
	mock.Mock
}

TransportInterface is an autogenerated mock type for the TransportInterface type

func NewTransportInterface

func NewTransportInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *TransportInterface

NewTransportInterface creates a new instance of TransportInterface. 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 (*TransportInterface) Close

func (_m *TransportInterface) Close() error

Close provides a mock function with given fields:

func (*TransportInterface) Connect

Connect provides a mock function with given fields: params

func (*TransportInterface) Connected

func (_m *TransportInterface) Connected() bool

Connected provides a mock function with given fields:

func (*TransportInterface) Receive

func (_m *TransportInterface) Receive(timeoutSeconds int) ([]frame.Frame, error)

Receive provides a mock function with given fields: timeoutSeconds

func (*TransportInterface) Send

func (_m *TransportInterface) Send(data []byte) error

Send provides a mock function with given fields: data

func (*TransportInterface) Type

Type provides a mock function with given fields:

Jump to

Keyboard shortcuts

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