Documentation
¶
Index ¶
- type IWebSocketChannel
- func (_m *IWebSocketChannel) Close(_a0 log.T) error
- func (_m *IWebSocketChannel) GetChannelToken() string
- func (_m *IWebSocketChannel) GetStreamUrl() string
- func (_m *IWebSocketChannel) Initialize(_a0 log.T, channelUrl string, channelToken string, region string, ...)
- func (_m *IWebSocketChannel) Open(_a0 log.T) error
- func (_m *IWebSocketChannel) SendMessage(_a0 log.T, input []byte, inputType int) error
- func (_m *IWebSocketChannel) SetChannelToken(_a0 string)
- func (_m *IWebSocketChannel) SetOnError(onErrorHandler func(error))
- func (_m *IWebSocketChannel) SetOnMessage(onMessageHandler func([]byte))
- func (_m *IWebSocketChannel) StartPings(_a0 log.T, pingInterval time.Duration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IWebSocketChannel ¶
IWebSocketChannel is an autogenerated mock type for the IWebSocketChannel type
func NewIWebSocketChannel ¶
func NewIWebSocketChannel(t interface { mock.TestingT Cleanup(func()) }) *IWebSocketChannel
NewIWebSocketChannel creates a new instance of IWebSocketChannel. 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 (*IWebSocketChannel) Close ¶
func (_m *IWebSocketChannel) Close(_a0 log.T) error
Close provides a mock function with given fields: _a0
func (*IWebSocketChannel) GetChannelToken ¶
func (_m *IWebSocketChannel) GetChannelToken() string
GetChannelToken provides a mock function with given fields:
func (*IWebSocketChannel) GetStreamUrl ¶
func (_m *IWebSocketChannel) GetStreamUrl() string
GetStreamUrl provides a mock function with given fields:
func (*IWebSocketChannel) Initialize ¶
func (_m *IWebSocketChannel) Initialize(_a0 log.T, channelUrl string, channelToken string, region string, signer *v4.Signer)
Initialize provides a mock function with given fields: _a0, channelUrl, channelToken, region, signer
func (*IWebSocketChannel) Open ¶
func (_m *IWebSocketChannel) Open(_a0 log.T) error
Open provides a mock function with given fields: _a0
func (*IWebSocketChannel) SendMessage ¶
SendMessage provides a mock function with given fields: _a0, input, inputType
func (*IWebSocketChannel) SetChannelToken ¶
func (_m *IWebSocketChannel) SetChannelToken(_a0 string)
SetChannelToken provides a mock function with given fields: _a0
func (*IWebSocketChannel) SetOnError ¶
func (_m *IWebSocketChannel) SetOnError(onErrorHandler func(error))
SetOnError provides a mock function with given fields: onErrorHandler
func (*IWebSocketChannel) SetOnMessage ¶
func (_m *IWebSocketChannel) SetOnMessage(onMessageHandler func([]byte))
SetOnMessage provides a mock function with given fields: onMessageHandler
func (*IWebSocketChannel) StartPings ¶
func (_m *IWebSocketChannel) StartPings(_a0 log.T, pingInterval time.Duration)
StartPings provides a mock function with given fields: _a0, pingInterval