mocktransport

package
v5.10.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2019 License: MIT, MIT, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTransport

type MockTransport struct {
	mock.Mock
}

MockTransport ...

func (*MockTransport) Close

func (m *MockTransport) Close() error

Close ...

func (*MockTransport) Closed

func (m *MockTransport) Closed() bool

Closed ...

func (*MockTransport) Receive

func (m *MockTransport) Receive() (*transport.Message, error)

Receive ...

func (*MockTransport) Reconnect

func (m *MockTransport) Reconnect(wsServerURL string, tlsOpts *types.TLSOptions, requestHeader http.Header) error

Reconnect ...

func (*MockTransport) Send

func (m *MockTransport) Send(message *transport.Message) error

Send ...

Jump to

Keyboard shortcuts

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