mocks

package
v0.0.0-...-955c50f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IWebSocketChannel

type IWebSocketChannel struct {
	mock.Mock
}

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) Open

func (_m *IWebSocketChannel) Open(_a0 log.T, dialer *websocket.Dialer) error

Open provides a mock function with given fields: _a0

func (*IWebSocketChannel) SendMessage

func (_m *IWebSocketChannel) SendMessage(_a0 log.T, input []byte, inputType int) error

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

Jump to

Keyboard shortcuts

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