Documentation ¶
Index ¶
- type MockTransport
- func (m *MockTransport) Close() error
- func (m *MockTransport) Closed() bool
- func (m *MockTransport) Receive() (*transport.Message, error)
- func (m *MockTransport) Reconnect(wsServerURL string, tlsOpts *types.TLSOptions, requestHeader http.Header) error
- func (m *MockTransport) Send(message *transport.Message) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTransport ¶
MockTransport ...
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 ...
Click to show internal directories.
Click to hide internal directories.