Documentation
¶
Index ¶
- type TransportInterface
- func (_m *TransportInterface) Close() error
- func (_m *TransportInterface) Connect(params transport.TransportInterfaceParams) error
- func (_m *TransportInterface) Connected() bool
- func (_m *TransportInterface) Receive(timeoutSeconds int) ([]frame.Frame, error)
- func (_m *TransportInterface) Send(data []byte) error
- func (_m *TransportInterface) Type() transport.InterfaceType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransportInterface ¶
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 ¶
func (_m *TransportInterface) Connect(params transport.TransportInterfaceParams) error
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 ¶
func (_m *TransportInterface) Type() transport.InterfaceType
Type provides a mock function with given fields: