Documentation ¶
Overview ¶
Code generated by mockery v1.0.0
Index ¶
- type IWebSocketChannel
- func (_m *IWebSocketChannel) Close(_a0 log.T) error
- func (_m *IWebSocketChannel) GetChannelToken() string
- func (_m *IWebSocketChannel) Initialize(_a0 context.T, channelId string, channelType string, channelRole string, ...) error
- func (_m *IWebSocketChannel) Open(_a0 log.T, dialer *websocket.Dialer) error
- func (_m *IWebSocketChannel) SendMessage(_a0 log.T, input []byte, inputType int) error
- func (_m *IWebSocketChannel) SetChannelToken(token string)
- func (_m *IWebSocketChannel) SetSubProtocol(subProtocol string)
- func (_m *IWebSocketChannel) SetUrl(url string)
- 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 (*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) Initialize ¶
func (_m *IWebSocketChannel) Initialize(_a0 context.T, channelId string, channelType string, channelRole string, channelToken string, region string, signer *v4.Signer, onMessageHandler func([]byte), onErrorHandler func(error)) error
Initialize provides a mock function with given fields: _a0, channelId, channelType, channelRole, channelToken, region, signer, onMessageHandler, onErrorHandler
func (*IWebSocketChannel) SendMessage ¶
SendMessage provides a mock function with given fields: _a0, input, inputType
func (*IWebSocketChannel) SetChannelToken ¶
func (_m *IWebSocketChannel) SetChannelToken(token string)
SetChannelToken provides a mock function with given fields: token
func (*IWebSocketChannel) SetSubProtocol ¶
func (_m *IWebSocketChannel) SetSubProtocol(subProtocol string)
SetSubProtocol provides a mock function with given fields: subProtocol
func (*IWebSocketChannel) SetUrl ¶
func (_m *IWebSocketChannel) SetUrl(url string)
SetUrl provides a mock function with given fields: url
func (*IWebSocketChannel) StartPings ¶
func (_m *IWebSocketChannel) StartPings(_a0 log.T, pingInterval time.Duration)
StartPings provides a mock function with given fields: _a0, pingInterval