mocks

package
v0.0.0-...-f6f6fb2 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

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

Initialize provides a mock function with given fields: _a0, channelUrl, channelToken

func (*IWebSocketChannel) Open

func (_m *IWebSocketChannel) Open(_a0 log.T) 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(_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

Jump to

Keyboard shortcuts

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